[JBoss-user] [Installation Configuration] - JSP tag
Hi all, I am migrating from WebLogic to JBoss. But I am struck up at one point which I am finding hard to resolve. Actually we were using sever-side validation in weblogic for not printing the null string by adding the code as jsp-descriptor jsp-param param-nameprintNulls/param-name param-valuefalse/param-value /jsp-param /jsp-descriptor in weblogic.xml. I want to have the similar option in JBoss. I am unable to find. Can any one pls help me out. thanks and regads Preeti123 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844202#3844202 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844202 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Compliance] - JSP tag
Hi all, I am migrating from WebLogic to JBoss. But I am struck up at one point which I ma finding hard to resolve. Actually we were using sever-side validation for not printing the nul string string by adding the code as jsp-descriptor jsp-param param-nameprintNulls/param-name param-valuefalse/param-value /jsp-param /jsp-descriptor in weblogic.xml. I want to have the similar option in JBoss. I am unable to find that. Can any one pls help me out. thanks and regads Preeti123 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844203#3844203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844203 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - a personal service that calls an EJB
Hello everyone, I write one custom service, which calls an EJB creation. [JBoss 3.2.3] I put the custom.jar and test-service.xml in $JBoss/server/all/deploy, and all runs OK. But when I restart the JBoss Server, it has a problem. It seems the test-service.xml is being deployed before that EJB, so it throws a javax.naming.NameNotFoundException: TimerManagerBean not bound. the test-service.xml is like user-service, and the class com.test.JNDIMap has start() and stop() methods. What can i do to solve this problem? thanks in advance bayuehua View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844207#3844207 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844207 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Lock and immediate rollback of a transaction
invisiblemage wrote: So, are we talking of real clients, that read some data, display it to the user, and after 20 minutes the user commits new data? Yes. Then it is really no good practice to keep the entity-reference on the client (with a transaction open ?!!) - the client should never ever have direct access to an entity bean. instead, implement some VO-Pattern here. I followed the Session Facade Pattern. Clients use a Stateful Session Bean to change DB data. This could be the flow: 1) The Client calls a method of the SFSB to lock the data. 2) The SFSB sends data to client. 3) The human client modifies (or adds) data using a GUI. 4) The Client calls a method of the SFSB to commit data. In a first time I thought to start transaction only at point 4), but I have a problem. Different clients can modify data only when data are in a particular state. If client1 starts modifying data (it can do it) and then client2 starts too and commit data before client1, then client1, according the new state of the data, couldn't be allowed to go on modifying. For this reason I'd like to stop immediately client2. To avoid the situation last one wins, i would just manually keep locking information somewhere that says another using is editing this data, please try again later. (simply create a table with user/pk information or use a synchronized singleton) But in this case I must lock the user/pk table instead of my data table: where is the difference ? By the way, if you have the entity-reference on the client: client2 will not even be allowed to read the data if client 1 has placed a lock on it (open transaction, default behaviour), so client2 can not even display the data. Yes, but I don't want client2 waiting for the end of client1's transaction. I would like an immediate end of client2 operations. Many thanks Moreno View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844206#3844206 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844206 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss Application Server Source Codes
http://sourceforge.net/project/showfiles.php?group_id=22866package_id=16942 Src code for jboss lives at source forge. Vishal. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844208#3844208 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844208 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: contextjavax.naming.NameNotFoundException
yr bean doesnt seem to be bound to right name as compred to the name u re looking for from yr clinert. Have look at the Jndi name its bound to from Jboss...JMX console. Also check tha yr bean is deployed without errors. Vishal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844209#3844209 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844209 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: log4j and JBoss
I i undrestood yr problem correctly, then its an issue with 'additvity' flag inr yr logger configutartion for that looger. If you set this flag=false then it shouldn't multiply logging in. like --- - appnder-ref ref=xxx/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844210#3844210 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844210 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Lock and immediate rollback of a transaction
But in this case I must lock the user/pk table instead of my data table: where is the difference ? You do the following: (Server Code) try { locktable.findByUserLock(user,row_to_lock); return false; } catch (FinderException e) { insert(user,row_to_lock); // can only be inserted of not exists } Since this happens in one transaction on the server, only one client can get that lock. (the second client has to wait until this transaction is finished, so findByUserLock will not result in a finderexception) If you receive the lock, you can savely read the data, and later, in another transaction, save the updated data. Client Code: boolean ok = business.insertLock(user,row_to_lock); // only during this function call client 2 has to wait; if (ok) { // client 2 will receive a false here read_for_update(); } else { print(row is locked); } ... some user processing... ... // NO TRANSACTION OPEN HERE! but we have the lock... ... on_save: write_update(); removeLock(user,row_to_lock); The lock-table is only locked during setting the lock (or trying to), but not during showing and editing the data. In fact, you only have four short transactions during (1) lock (2) read (3) update (4) release lock. But since setting the lock happens in a transaction, only one client can get that lock. You even don't need a stateful session bean here, since you can give the userid with every call; by no means keep the transaction open during client calls! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844211#3844211 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844211 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - autostart a timer when JBoss start?
Hello all I have a timerEJB, and it is deployed correctly, but every time I started JBoss, I have to call a TimerManager.start to start the timer. Any method can make it autostart when JBoss started? I have tried a MBean, and using a timer-service.xml. But it is impossible to call a EJB?in?it,?as?all?.jar?are?deployed?after?the?*-service.xml?are deployed. How can I do about this? thnks bayue View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844212#3844212 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844212 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: autostart a timer when JBoss start?
you can put a tag on your timer mbean that waits on the name of the EJB container MBean. As you cannot guess the name of the ejb container mbean, you need to go on the jmx-console first, find the name, and use it in your depends tag. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844213#3844213 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844213 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Inst. Per Tx with Cache Invalidation?
Check JBossCMP wiki for caching and locking. You could use IPT for read-write container and standard container configuration with commit option A and cache invalidation for read-only container. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844215#3844215 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844215 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: over 10 commits for an insert?
what does it mean? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844216#3844216 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844216 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Lock and immediate rollback of a transaction
Thank you invisiblemage, I'll try to adapt your example to my problem. Moreno View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844219#3844219 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844219 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - How to include two data-sources in jbosscmp-jdbc.xml file?
Hi Everyone, I have a small problem. In my jbosscmp-jdbc.xml i have defined the data-source in the following manner jbosscmp-jdbc java:/PSESPDS datasource-mappingOracle9i/datasource-mapping create-tabletrue/create-table remove-tablefalse/remove-table Could you please tell me how can i add a second data-source in this file because i am using some CMPs which are related to tables in another schema. Is it possible. If not do I have to create another jbosscmp-jdbc.xml file for that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844220#3844220 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844220 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Managing Memory
Hi all, I am using JBoss3.2.2RC3 and Oracle 9.2. I am using Windows XP with 512 mb of RAM. I have set Xms64m -Xmx128m for JBoss. I have a table with 8000+ records. While retrieving the records, it takes atleast 5 mins to fetch the records. More often than fetching I am getting org.jboss.tm.JBossTransactionRolledbackException: null; CausedByException is: null; nested exception is: java.rmi.NoSuchObjectException; - nested throwable: (java.rmi.NoSuchObjectException) Caused by: java.rmi.NoSuchObjectException Can anybody tell me how can I increase the performance of the system, and also how to avoid the above error. Thanks in advance srinivas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844221#3844221 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844221 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Unwanted Automatic undeployment
Hello, we have a very strange behaviour with jboss3.2.5 running on SuSE-Linux 8.1 with sun-jdk 1.4.2_03: Without any obvious reasons, jboss undeploys the application. The logs do not show up any irregularities: 2004-08-04 19:52:23,397 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, int erval: 45 2004-08-04 19:59:53,407 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, int erval: 45 2004-08-04 20:07:23,417 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, int erval: 45 2004-08-04 20:14:53,427 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, int erval: 45 2004-08-04 20:21:13,677 DEBUG [org.jboss.deployment.MainDeployer] Undeploying file:/opt/jboss-3.2.5/server/default/dep loy/SkWorldApp.ear 2004-08-04 20:21:13,678 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.j2ee:service=EARDeployment, url='SkWorldApp.ear' Does anyone know about this problem? Any hints? Thanks in advance, Gerwin Brill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844223#3844223 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844223 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Problem in migrating to jboss from weblogic
Hai I got a problem when i am migrating my exisitng project from weblogic to jboss. Actually my project is doing very well in weblogic but the problem is all of my jsp forms, hidden values and the database returning values which actually should be blank is displaying null. Actually they are expected to show blank as it is doing well in weblogic. Is there any way to configure jboss not to return null and show blank. It is impossible to change the entire project to check whether the value is null and display blank as the size is large. can anybody help me out one more problem i had a connection pooling with the minimumsize as 0 and max size as 150.after using the connections for some time the jboss is simply returning that conection pool is ( Database error at createConnection: org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout.) and another problem is some times when i am invoking the jsp i am getting the following error type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file [javac] An exception has occurred in the compiler (1.4.2_05). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. [javac] java.lang.IndexOutOfBoundsException [javac] at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:122) [javac] at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1088) [javac] at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:1049) [javac] at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372) [javac] at com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbol.java:691) [javac] at com.sun.tools.javac.v8.code.ClassReader.loadClass(ClassReader.java:1130) [javac] at com.sun.tools.javac.v8.comp.Resolve.loadClass(Resolve.java:471) [javac] at com.sun.tools.javac.v8.comp.Resolve.findGlobalType(Resolve.java:532) [javac] at com.sun.tools.javac.v8.comp.Resolve.findType(Resolve.java:588) [javac] at com.sun.tools.javac.v8.comp.Resolve.findIdent(Resolve.java:615) [javac] at com.sun.tools.javac.v8.comp.Resolve.resolveIdent(Resolve.java:781) [javac] at com.sun.tools.javac.v8.comp.Attr.visitIdent(Attr.java:1023) [javac] at com.sun.tools.javac.v8.tree.Tree$Ident.accept(Tree.java:) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribType(Attr.java:228) [javac] at com.sun.tools.javac.v8.comp.Enter$MemberEnter.visitVarDef(Enter.java:795) [javac] at com.sun.tools.javac.v8.tree.Tree$VarDef.accept(Tree.java:511) [javac] at com.sun.tools.javac.v8.comp.Enter$MemberEnter.memberEnter(Enter.java:715) [javac] at com.sun.tools.javac.v8.comp.Attr.visitVarDef(Attr.java:349) [javac] at com.sun.tools.javac.v8.tree.Tree$VarDef.accept(Tree.java:511) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStats(Attr.java:253) [javac] at com.sun.tools.javac.v8.comp.Attr.visitBlock(Attr.java:384) [javac] at com.sun.tools.javac.v8.tree.Tree$Block.accept(Tree.java:547) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235) [javac] at com.sun.tools.javac.v8.comp.Attr.visitTry(Attr.java:483) [javac] at com.sun.tools.javac.v8.tree.Tree$Try.accept(Tree.java:697) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStats(Attr.java:253) [javac] at com.sun.tools.javac.v8.comp.Attr.visitBlock(Attr.java:384) [javac] at com.sun.tools.javac.v8.tree.Tree$Block.accept(Tree.java:547) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235) [javac] at com.sun.tools.javac.v8.comp.Attr.visitMethodDef(Attr.java:341) [javac] at com.sun.tools.javac.v8.tree.Tree$MethodDef.accept(Tree.java:482) [javac] at
[JBoss-user] [EJB/JBoss] - EJB calls across different JBoss instances
Good morning Lads! Is there any way to implemet the following scenario: 1. There are two instances of JBoss running one 3.2.x(JBoss1) another is 2.4.x (JBoss2) 2. JBoss2 hosts EJB application with the number of session beans. 3. JBoss1 hosts another session EJB that needs to invoke JBoss2 EJB methods. Deploying JBoss2 client interfaces directly to the JBoss1 does not work. JBoss1 throws javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.proxy.ejb.GenericEJBInterceptor; local class incompatible: stream classdesc serialVersionUID = 4582256576523491346, local class serialVersionUID = 3844706474734439975] Is there any workaround for this sort of problem? Any help in solving that is greatly appreciated. Best regards, Igor. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844225#3844225 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844225 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: [FarmMemberService] java.io.FileNotFoundException
I solved the problem. I put an open war file in farm folder... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844227#3844227 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844227 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - javassist.NotFoundException: java.lang.Object - with securit
Hello, When I run Javassist 2.6 (in Tapestry 3.0) without security manager, everthing works OK. But when I switch to a security manager it throws a NotFoundException: java.lang.Object I debugged the code and I figured out that getClass().getResourceAsStream(/java/lang/Object.class) returns null when using the security manager. What permissions should be set to prevent this error? Thanks, Norbi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844229#3844229 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844229 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: javassist.NotFoundException: java.lang.Object - with sec
The call stack is: StandardWrapperValve[ErinorsPortal Servlet]: Servlet.service() for servlet ErinorsPortal Servlet threw exception javax.servlet.ServletException at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:834) at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197) at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Unknown Source) - Root Cause - org.apache.tapestry.enhance.CodeGenerationException at org.apache.tapestry.enhance.javassist.ClassMapping.initialize(ClassMapping.java:83) at org.apache.tapestry.enhance.javassist.ClassMapping.(ClassMapping.java:48) at org.apache.tapestry.enhance.javassist.EnhancedClassFactory.reset(EnhancedClassFactory.java:70) at org.apache.tapestry.enhance.javassist.EnhancedClassFactory.(EnhancedClassFactory.java:49) at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.createEnhancedClassFactory(DefaultComponentClassEnhancer.java:72) at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.(DefaultComponentClassEnhancer.java:66) at org.apache.tapestry.engine.AbstractEngine.createComponentClassEnhancer(AbstractEngine.java:2207) at org.apache.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1262) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:824) at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197) at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at
[JBoss-user] [Beginners Corner] - Deployment trouble after updating to Version 3.2.5
Hallo Everybody, I have run into some trouble after switching from JBoss 3.2.3 to 3.2.5. My deployed application (some Entity Beans and some Session Beans) does not start up anymore, I am getting the following error in the log file: 2004-08-05 12:32:17,533 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jndiName=risse/ejb/RdEJB,plugin=pool,service=EJB dependents are: [] 2004-08-05 12:32:17,533 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Proxy Factory for risse/ejb/RdEJB initialized 2004-08-05 12:32:17,533 DEBUG [org.jboss.ejb.EntityContainer] Failed to register cache as mbean javax.management.NotCompliantMBeanException: Class does not expose a management interface: org.jboss.ejb.plugins.PerTxEntityInstanceCache [...) I don't see any reason why the application is not starting correctly with 3.2.5 but is running fine with 3.2.3. I would be happy if anybody could give me a hint where to start to solve this problem. Regards, Sven View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844234#3844234 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844234 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?
thanks gary, I guess I have to struggle more with those patterns, I've tried many tho so if someone would tell me the basic ones I should give to my HtmlBlocks permissions... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844236#3844236 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844236 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Fail Over best practice?
Hi, are there any hints on setting up a fault tolerant system of JBoss servers. We have an application with a Swing Client which uses RMIoverHTTPs to connect to the JBoss servers (we have three). The distribution is done using WebStart. Caused by a lack of knowledge and money, we decided to add all three IPs to one DNS-Name. The result is that if any one of the servers is down you may not connect correctly to the application. One solution could be putting an Apache in front of these servers and using MOD_JK2 to connect to the JBoss/Tomcat. An other one is using a hardware load balancer. What other alternatives do I have? What are the pros/cons of such solutions? Thanks, Didi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844237#3844237 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844237 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB client jar files
Following up on this: Using JBoss-IDE you can generate a simple client jar containing the required/EJB interfaces but this jar does not contain any stub/skeleton classes. It seems that even with this jar available you still need to setup security in order to obtain an initialcontext. You can do this using a policy file but .. geeze! Well, heres some more questions: - Is EJB the wrong choice for application's that require BOTH client and web capabilities? JBoss specific or not. - If yes, then what IS the best technique? - Am I missing the point completely? It's highly likely .. -luke View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844238#3844238 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844238 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Data processing with Creation-Expensive Beans
Hello, I need a design hint for the following application scenario: I have to process data in near real time which arrives in short intevalls from various identical sources. Before the data can be processed by an object (Session or POJO) the object has to set-up its internal configuration data. The setup procedure for this configuration data is more epensive than the final data processing. What would be the best pattern to get this done? 1) Simply using stateful beans seems to be no option because there are too many external data sources and the external data reciever must not wait for the data processing to finish. 2) Ideal would be MDBs, but how can I make sure that they are properly reused and there are not too many new instances created, as this is quite expensive and memory consuming? Is there anyone with a bright idea or someone who has solved a similar situation? Best regards Alex View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844239#3844239 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844239 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Caching of entity beans
Hi I'm trying to figure out how the caching for cmp entity beans works in JBoss. I had this (maybee naive) idea that if an entity bean was loaded the cmp engine would load this bean only once from the database (One time for each transaction for commit option B). This is the scenario: I repeatedly call a findBySomeParameter(xxx) within one transaction with the same parameters. So the result set is the same each time. The parameters are not the primary key. This results in db access for each find. So it obviously does not use the cache even if it sustains one. I'm using standard entity cmp 2.0 configuration with commit option B and read-ahead 100 on-load. I could of course cache this in my own application but isn't this what cmp should be good at? I do see that it can be difficult for the container to do this, but all this talk about the wonders of the EJB and caches has led me to believe that there where a solution to this. I would really apretiate if someone could explain this to me. How can I code my application to make any use of the bean cache? Best regards Oystein View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844240#3844240 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844240 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - JMX Performance
I have done some performance tests and have compared two scenarios. 1. Getting 100,000 times 8 properties from an mbean. 2. Getting 100,000 times 8 propeties by a simple getter method. My results are like this : 10:55:08,535 INFO [STDOUT] property Time :31 msec 10:55:44,913 INFO [STDOUT] JMX Time :36378 msec does that means I should cache the configuration properties i get from MBeans? or is there something bad with my code? A sample code of getting a property from an MBean that I used : | public String getEmailProtocol() { | String value = imap; | try { | value = _mBeanServer.getAttribute(_objectName, EmailProtocol).toString(); | } catch (AttributeNotFoundException e) { | _log.error(e.getMessage(), e); | } catch (InstanceNotFoundException e) { | _log.error(e.getMessage(), e); | } catch (MBeanException e) { | _log.error(e.getMessage(), e); | } catch (ReflectionException e) { | _log.error(e.getMessage(), e); | } | return (value); | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844241#3844241 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844241 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - ServiceMBean doesn't start when using jboss.xmbean
When deploying a class with following XDoclet tags: @jmx.mbean name=xx:service=yy extends=org.jboss.system.ServiceMBean @jboss.service servicefile=jboss @jboss.xmbean on JBoss 3.2.3, the service is never started. I saw that in the generated yy.xml file the start and stop method are not included. Does somebody know why and how to fix this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844242#3844242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844242 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JVM crash
issue disappeared with jdk 142_05. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844257#3844257 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844257 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - XML Parser cannot parse Files with spaces in their names
Here is my jsp code %@ page import=java.net.URLDecoder,org.w3c.dom.Document,java.io.*,javax.xml.parsers.DocumentBuilder, javax.xml.parsers.DocumentBuilderFactory % % try { //create a factory instance DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder dBuilder = dbFactory.newDocumentBuilder(); File f = new File(URLDecoder.decode(C:\\jboss-3.2.4\\server\\default\\deploy\\cm.ear\\cm.war\\html\\Rports\\Gland 5.xml)); Document oDocument = dBuilder.parse(f); } catch(Exception e) { e.printStackTrace(); } % The above code gives my FileNotFoundException. It does not like the space in the file name. If i rename my file and change the filename in the above code to Gland5.xml everything is fine. Same thing happens if I remove the decode call also. Can someone please help Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844258#3844258 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844258 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Uploading images in JBoss
Hi Guys, I am migrating an application (struts, EJBs) from WebLogic 8.1 to JBoss 3.2.5. Uploading images and later presenting them per users' request is a crucial part of the application. In WebLogic design I used virtual directory mapping in weblogic.xml and stored images in there. In database I stored only location using that virtual directory mapping (virtual directory + file name). Now I am trying to do the same (or similar) in JBoss and I am failing and thinking to go back to WebLogic. Can somebody help me? How can I place images somewhere on disk, store paths to those files in database and use those paths for presenting images back to users? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844259#3844259 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844259 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?
also: - when I modify the permissions of one of my HtmlBlocks with the permission module, it's implicite that the component-pattern will be mycomponent::, isn't it? and - what are the three regions reg1:reg2:reg3 of a pattern for htmlBlock component compared to? when I read in the call of secAuthAction: fileId + :: I understand the /pathIwanttoauthorize/.*:: pattern, but what if I want to forbid the whole block, not only html content? what is the fileId in that case, or what is tested in that case? which module has for instance pattern nameofblockIwanttoforbid:: ? I tried core module and block module... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844260#3844260 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844260 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - JNDI lookup
I have an entity bean that calls another entity bean. I noticed that the following lookup doesn't work: XXXHome xxxHome = (XXXLocalHome) ctx.lookup(java:comp/env/ejb/XXXLocalHome); but if I remove java:comp/env, it works. Any idea why? What should I do if I want to use the full path? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844262#3844262 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844262 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Problem with farming
We are experiences the exact same problems. I did notice that our server's times are slightly different, would this make any difference? At this point to me it appears to be a jboss bug. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844263#3844263 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844263 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss and LDAP
Hi, I'm really newbie in jboss and also in ldap. I found into documentation that ldap authentication with jboss is possible using org.jboss.security.auth.spi.LdapLoginModule. I find some exemples to configure JBoss, but what is the ldap shema used by jboss ? I can't find some exemples to put user/role in my LDAP directory. Any body's got some idea and some exemples ? One other question, is it possible to use ldap in place of jboss naming service to register services in it ? Thanks a lot View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844264#3844264 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844264 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Uploading images in JBoss
Guys, Problem resolved. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844266#3844266 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844266 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Custom JNDI Resource Factories
Hi, I'm trying to migrate a web app from Tomcat 5.0.25 onto JBoss 3.2 On my original deployment, I had a custom JNDI resource, with a custom ResourceFactory class thaht initialized the instance. I configured that using server.xml with the following code snippet: Resource name=messaging/MessageResolver auth=Container type=gr.talent.messaging.http.server.components.ResolverImpl/ | | ResourceParams name=messaging/MessageResolver | parameter | namefactory/name | valuegr.talent.messaging.http.server.components.ResolverFactory/value | /parameter | parameter | !-- | Defines the directory under which all the channels will save their configuration | files. The dir structure is of type system dir/channel-name/channel-name-config.xml | -- | namesystemConfigPath/name | value/projects/dataman/res/server/value | /parameter | | /ResourceParams Then , I modified my web.xml file to include the following: resource-env-ref | description | Resolver for IHandler instances. | /description | | resource-env-ref-name | messaging/MessageResolver | /resource-env-ref-name | | resource-env-ref-type | gr.talent.messaging.http.server.components.ResolverImpl | /resource-env-ref-type | /resource-env-ref ... and that worked like a charm :] Unfortunately, now that I'm trying to deploy on JBoss I've not the slightest clue as to how to configure JBoss to achieve the same effect. Any pointers will be GREATLY appreciated !!! Cheers, Angel O:] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844267#3844267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844267 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Tying JBoss Into Idea
Mat, That did the trick. I got the jsp-api.jar and the servlet-api.jar from JBOSS_HOME/server/xxx/deploy/tomcat.sar, and the jboss-j2ee.jar from JBOSS_HOME/server\default\lib Those jars satisfied idea, and I'm moving forward again. Bill. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844269#3844269 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844269 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - IllegalStateException
I tried to run the J2eeTurorial (Duke's Bank) after installing JBoss. But I got an error when I am trying to log in: java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:2270) . . . I hope this is a known issue, so I can continue to learn JBoss ASAP. I have jboss-3.2.6RC1 downloaded and installed. The assemble-app commando on ant (in Getting Started with JBoss on page 20) is also screwing up and I had to run it manually. It tries to copy the EAR-file in a directory on JBoss without using backspace( i.e: jboss-3.2.6RC1servedefault)... I hope there is a simple solution to the IllegalStateException... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844275#3844275 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844275 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - JBoss 4.0 Release Date
I am looking for the estimated release date for JBoss 4.0. I need and App Server that is J2EE 1.4 compliant. The JBoss roadmap I found was for JBoss 4.x which has a release date of 9/13/05. I am hoping that 9/13/05 is not the release date for JBoss 4.0 just later point releases. Thanks, Chad View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844276#3844276 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844276 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: XML Parser cannot parse Files with spaces in their names
Yes, even if i try File f = new File(C:\\jboss-3.2.4\\server\\default\\deploy\\cm.ear\\cm.war\\htm\\Rep\\Gland 5.xml); boolean b = f.exists(); System.out.println(EXISTS + b); Document oDocument = dBuilder.parse(f); I still get a problem. In the above case b = true. But the Xerces parser I believe has a problem. 2004-08-05 13:46:35,422 INFO [STDOUT] EXISTStrue 2004-08-05 13:46:35,432 INFO [STDOUT] java.io.FileNotFoundException: C:\jboss-3.2.4\server\default\deploy\cm.ear\cm.war\htm\Rep\Gland%205.xml 2004-08-05 13:46:35,432 INFO [STDOUT] at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:71) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:80) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2004-08-05 13:46:35,442 INFO [STDOUT] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 2004-08-05 13:46:35,442 INFO [STDOUT] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 2004-08-05 13:46:35,442 INFO [STDOUT] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:161) The problem goes away if i have a file without any spaces in it View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844279#3844279 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844279 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Could not enlist in transaction on entering meta-aware objec
Hi all I am using XATransaction in JBOSS. Since in our application, Transaction involves JDBC, Entiry beans, and JMS. Local Tranacation may works for us, but we do see another issue with the consistency of the data. In order to avoid the inconsistency data problems in a cluster env (where we are not going to enable either object replication or sending a message to invalidate the cache at other nodes), we are programatically locking the particular record using JDBC and Select for update Here is the structure Session bean method (Transaction requires new){ calls POJO.method { call getConnection, execute Select for update call entity beans call to closeConnection } } When program control exits this method, it releases the lock In this application, this particular logic works fine from 3 different routes, and fails from only one route. Not able to figure it out why? OPPS (Ordering System) - BSC Delegegate - BSC Session Bean (Transaction = RequiresNew) - BSC POJO (Calls to get the lock(jdbc), calls entity beans) - Entity Beans Works fine BSC Message Driven Bean (Transaction = Required) - BSC POJO (Calls to get the lock(jdbc), calls entity beans) - Entity Beans Works fine Junit - BSC Delegegate - BSC Session Bean (Which is for read only, Transaction = Any, tried all) - BSC POJO (for readonly, calls entity beans) - Entity Beans Works fine CSR - OPPS (Ordering Comp) - BSC Delegegate - BSC Session Bean (Which is for read only, Transaction = Any, tried all) - BSC POJO (for readonly, calls entity beans) - Entity Beans Fails, Fails, Fails Here is the Datasource file (Pad = true set) xa-datasource jndi-namebscDS/jndi-name track-connection-by-txtrue/track-connection-by-tx isSameRM-override-valuetrue/isSameRM-override-value xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class xa-datasource-property name=URLjdbc:oracle:oci:@devdb02_dcoreint/xa-datasource-property xa-datasource-property name=Userjanus_devl_app/xa-datasource-property xa-datasource-property name=Passwordfrontline/xa-datasource-property exception-sorter-class-name org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter /exception-sorter-class-name no-tx-separate-pools / true track-connection-by-txtrue/track-connection-by-tx track-statementstrue/track-statements min-pool-size1/min-pool-size max-pool-size6/max-pool-size /xa-datasource Error: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: enlistResource failed Here is the exception: 2004-08-05 12:31:19,649 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=WS1543//27, BranchQual=] errorCode=XAER_NOTA oracle.jdbc.xa.OracleXAException at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1159) at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:311) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:143) at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1148) at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:629) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:455) at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:483) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) at com.register.util.status.BillingResultInfo.(BillingResultInfo.java:62) at com.register.bsc.dao.BillingInfoDAO.init(BillingInfoDAO.java:1441) at com.register.bsc.dao.BillingInfoDAO.(BillingInfoDAO.java:107) at com.register.bsc.ejb.BillingInformationHandlerEJB.getBillingLineItem(BillingInformationHandlerEJB.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at
[JBoss-user] [Beginners Corner] - Oracle to JBoss RMI question
I am having difficulty connecting an Oracle package running on a different server to a class file running on another server. Has someone done this before and can you provide some help/examples? System Environment: 1. Oracle database on a different box. 2. Unix box listening on 1099 (rmi port). 3. Jboss-3.2.3 What i have done so far: Created and compiled a single class that has one method that returns a string - such as Hello. Created Stub and Skel using rmic -d classfilename Created a client class and loaded it into Oracle. This class does a Naming.lookup(rmi://10.2.86.190:1099/+rmiName); Created an Oracle package that has a procedure calling this java method. Questions: 1. How do I register the class in RMI on the Jboss app server. Note that my class is not acting as a daemon. 2. How do I deploy the class file in jboss so it can be called from Oracle? (Do i need to package it into a war file and be able to map it somehow?) 3. Is the calling protocol for the lookup (rmi://) correct? or do i need to use http://; ? Please help. thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844281#3844281 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844281 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Problems running shutdown.bat from directory other than bin
I have found that if you run shutdown.bat from any directory other than the bin directory you get the following error message: Exception in thread main javax.naming.NamingException: Could not dereference object. Root exception is javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.rmi.RMIAdaptor (no sec urity manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:521) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:6 39) at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:309 ) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStrea m.java:241) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1469) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1432) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:3 0) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:551) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:965) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:614) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.Shutdown.main(Shutdown.java:182) RMIAdapter is found in jbossall-client.jar and in shutdown.bat when setting the JBOSS_CLASSPATH it has ../client/jbossall-client.jar If I change this to the full path name it works. Is there a patch that addresses this bug yet? Thanks Jeff Smith Software Developer Compuware Corporation View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844283#3844283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844283 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Problems running shutdown.bat from directory other than
Forgot... running 4.0.0 RC1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844284#3844284 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844284 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Need a better transaction manager than the default one
Hi, I read in JBoss manuals that its default transaction manager does not do transactional logging, and is thus incapable of automated recovery after a server crash. I need a transaction manager that will work with JBoss and database clusters to provide high availability, redundancy and failover. Does Tyrex satisfy these criteria? How does JBoss compare to commercial J2EE app servers? Thanks! Alex View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844285#3844285 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844285 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Could not enlist in transaction on entering meta-aware o
Guys It worked, the mistake is isSameRM-override-valuefalse/isSameRM-override-value THanks Sunny View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844286#3844286 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844286 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: tusc tutorial
atoi wrote : Chapter 1: trying to deploy the test project and getting the following errors: | | Project Test is missing required library: 'C:jboss/jboss-3.2.3/server/all/lib/javagroups-2.0.jar' | Project Test is missing required library: 'C:jboss/jboss-3.2.3/server/all/lib/jbossmqha.jar' | | How to fix? Please I need to solve this as soon as possible. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844287#3844287 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844287 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - EJB Creator Wizard
I cannot open the EJB Creator Wizard, Everything opens but the Wizard. Anybody knows what could be wrong. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844288#3844288 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844288 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 4.0 Release Date
In the JBoss 4.0 Development (J2EE-1.4 certified) section: http://jboss.org/wiki/attach?page=JBossRoadmap%2FJBoss4ProjectDevSchedule.html anonymous wrote : | Primary goal for the release is J2EE certification. Per Scott, we have officially announced that we will ship our J2EE 1.4 compatible product - JBoss 4.0 by September 3, 2004. | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844289#3844289 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844289 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - jbossmq writes transaction to database even for non-transact
I've got a MDB with the trans-attribute set to 'Supports.' Some database reads and writes are performed within the onMessage method. I'm running with p6spy, which shows me all SQL statements executed by the application. This shows that jbossmq issues 3 additional database writes every time onMessage is invoked. This is performance problem for me. I don't understand why its even executing these transaction-related statements when my bean isn't even transactional. Could someone please help me make whatever config changes are necessary to disable this behavior. Thanks in advance. The 3 SQL statements are: INSERT INTO JMS_TRANSACTIONS (TXID) values(?) DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=? DELETE FROM JMS_TRANSACTIONS WHERE TXID = ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844290#3844290 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844290 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - update..
still seek for solution View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844291#3844291 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844291 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 4.0 Release Date
Will the 9/3/04 release be certified by SUN? Or will that process still be on going after 9/3/04 if so what is the estimated date for SUN Certification? Thanks, Chad View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844292#3844292 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844292 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: jbossmq writes transaction to database even for non-tran
There is a NoLogging Persistence Manager configuration. Do a search for this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844293#3844293 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844293 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Throwing extended LoginException from SRPLoginModule
Hi, I would like to login to a server using the SRP protocol. I am using JBoss' SRPLoginModule in my client side jaas config to do this. Now since I am working in a clustered environment I have to determin if a thrown LoginException was caused by a true authentication problem or simply because the authenticating server was down. SRPLoginModule logs IOExceptions while trying to connect but since LoginException is not providing any information about the cause, I am probably forced to parse the log message :-( I thought maybe it would be acceptable to have JBoss provided login modules throw JBossLoginException that extend LoginException and provide access to the caused exception if it applies. Regards, Sebastian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844296#3844296 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844296 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Any plans for any other databases?
Hi fbeatty, I just installed MaxDB and plan to use it with nukes. Can you send me the ddl please... would be a great help! sqirl at web.de greetings sqirl View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844295#3844295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844295 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - SessionBean Interceptor--accessing SessionContext
Is there a way to retrieve the active SessionContext from within a custom Interceptor? I have a static method I would like to make avaliable at any point in some session beans that evaluates additional credentials stored with the currently authenticated subject. I would like to initialize the ThreadLocal or TransactionLocal variable of this static method uses in an interceptor with the current SessionContext so each method in these session beans is not required to initialize it with the SessionContext. Is this possible? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844298#3844298 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844298 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - How to expose ConnectionFactory to clients using Global JNDI
I have this conde inside the servlet | InitialContext ctx = new InitialContext(); | QueueConnectionFactory qconFactory = (QueueConnectionFactory)ctx.lookup( java:/ConnectionFactory ); | And surely it provides me with connection factory but when I use this code: | Properties env = new Properties(); | env.put( Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory ); | env.put( Context.PROVIDER_URL, jnp://myhost:11099 ); | env.put( java.naming.factory.url.pkgs, org.jboss.naming:org.jnp.interfaces ); | InitialContext ctx = new InitialContext( env ); | QueueConnectionFactory qconFactory = (QueueConnectionFactory)ctx.lookup( java:/ConnectionFactory ); | from the client in different JVM I cannot get connection factory. I guess this is because the only JNDI name space available for this client is Global JNDI. My question is, how would I configure JMS to be able to get connection factory from the client in different JVM? Couldn't find answer in FAQ, sorry. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844299#3844299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844299 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Weird problem while testing JBoss for Messaging
Hi all, I am trying to evaluate the performance for JBoss using JMS However of late I have run into some really weird problem. I start up a publisher object, publishing to a particular topic and I realize that it publishes close to 800 msg\sec however the moment i start up a subscriber to the same topic, the publishing as well as subscribing rate goes down drastically and eventually comes to a halt. I am using the Soniq benchmarking framework and jboss 3.2.5 as the server. I have 10 publihsers running and 1- subscribers running. Has this got anything todo with increasing the sockets etc on windows as some of the posts indicate. If so then would someone please point me to docs that help me overcome this error. Anuj View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844301#3844301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844301 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Problems Using DabaseServerLoginModule
Can you post your jboss-web.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844306#3844306 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844306 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: tusc tutorial
Just add the missing libaray in .server file from the preferences section of lomboz in eclipse, and librarires are in /server /all/lib area. for server side and client side is in clients ditrectory under jboss Vishal. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844307#3844307 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844307 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - EJB clustering doesn't work if client is in same JVM?
Jboss: 3.2.5 OS: Windows XP I have a clustered StatelessSessionBean installed in Server1/Server2 (actually same machine but different port settings). Another client (MBean) in Server1 calls this Stateless bean repeatedly. But it seems to use the LocalInvoker to call the StatelessBean in the same JVM. (I didn't make the stupid lookup mistake) However, I wrote a standalone client calling Clustered SLSB, it works! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844308#3844308 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844308 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?
I checked the stacktrace, it seems InvokerInterceptor and MarshallingInvokerInterceptor will always bypass TCP port if it's Local. So I plan to write my own interceptor and change standardjboss.xml. :-) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.invocation.Interceptor.invoke(InvokerInterceptor.java:49) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844309#3844309 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844309 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: How to expose ConnectionFactory to clients using Global
please ignore my post. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844311#3844311 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844311 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: How to include two data-sources in jbosscmp-jdbc.xml fil
hi, Thanks for the reply!. we have specified default datasource in the jbosscmp-jdbc.xml as given below: jbosscmp-jdbc java:/PSESPDS datasource-mappingOracle9i/datasource-mapping create-tabletrue/create-table remove-tablefalse/remove-table enterprise-beans ejb-nameCandidatePedu/ejb-name table-nameCANDIDATE_PEDU/table-name cmp-field field-namecandidateId/field-name column-nameCANDIDATE_ID/column-name /cmp-field cmp-field field-namepQualification/field-name column-nameP_QUALIFICATION/column-name /cmp-field cmp-field field-nameinstute/field-name column-nameINSTITUTE/column-name /cmp-field cmp-field field-namememberId/field-name column-nameMEMBER_ID/column-name /cmp-field cmp-field field-nameinstituteCountryCode/field-name column-nameINSTITUTE_COUNTRY_CODE/column-name /cmp-field cmp-field field-namestreet1/field-name column-nameSTREET_1/column-name /cmp-field cmp-field field-nameinstitutePhoneCode/field-name column-nameINSTITUTE_PHONE_CODE/column-name /cmp-field cmp-field field-namestreet2/field-name column-nameSTREET_2/column-name /cmp-field cmp-field field-nameinstituteCityCode/field-name column-nameINSTITUTE_CITY_CODE/column-name /cmp-field cmp-field field-namecity/field-name column-nameCITY/column-name /cmp-field cmp-field field-namedistrict/field-name column-nameDISTRICT/column-name /cmp-field cmp-field field-nameprovince/field-name column-namePROVINCE/column-name /cmp-field cmp-field field-namezipCode/field-name column-nameZIP_CODE/column-name /cmp-field cmp-field field-namecountryId/field-name column-nameCOUNTRY_ID/column-name /cmp-field cmp-field field-namefromDate/field-name column-nameFROM_DATE/column-name /cmp-field cmp-field field-nametoDate/field-name column-nameTO_DATE/column-name /cmp-field cmp-field field-nameaddInfo/field-name column-nameADD_INFO/column-name /cmp-field cmp-field field-namepeduSeq/field-name column-namePEDU_SEQ/column-name /cmp-field cmp-field field-namehouseNo/field-name column-nameHOUSE_NO/column-name /cmp-field /enterprise-beans /jbosscmp-jdbc -- that is we can define datasource for any entity bean by including this entity bean within the tag given below enterprise-beans /enterprise-beans and having multiple enterprise-beans tag in one jbosscmp-jdbc.xml from Team member View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844312#3844312 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844312 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Throwing extended LoginException from SRPLoginModule
The ideal way to be setting the cause on the LoginException, but this is a 1.4.x extension to the exception base classes that will not work with jdk 1.3 which we still support at least for compilation. I could look at reflectively adding this info when the runtime supports it. The problem with introducing a JBossLoginException that supports nested exception is non-standard code for something that does exist in jdk 1.4.x. Is this something you need with jdk 1.3 or could you look to the LoginException cause in a 1.4.x runtime? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844314#3844314 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844314 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Can't get SSL properly configured for web app
Changing the ports to standard ones solved the problem View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844315#3844315 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844315 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Urgent production issue regarding to jboss security
There should not be an access control exception without a security manager. Perhaps your missing a class and the exception was not about not being able to use dynamic class loading because the lack of security manager. Show the access control exception. Otherwise there still must be a problem with building a secure privileged proxy with this driver. What version is the driver? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844316#3844316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844316 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Why not Unpacked / Expanded / Exploded deployment from r
The problem is simply that we don't support treating an http/webdav directory as an exploded deployment in the same way that we treat an exploded file. Its just an imlementation limitation at this point. If you want to take a look at generalizing this that would be great. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844317#3844317 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844317 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Is Runaway EJB control possible ?
I find it hard to believe you have marketing people speaking of units of work. Your right that this is not a j2ee specific issue. Generically how to you cause a thread of execution to break out of this loop: |long i = 0; |while( true ) |i ++; | Getting hold of the thread and invoking stop (which is deprecated, see http://java.sun.com/j2se/1.4.2/docs/api/index.html) or interrupt are not guraneteed to work. The real issue is that java has no reliable capability for stopping a rouge thread. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844318#3844318 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844318 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?
Found a solution: skiping isLocal() Replaced 4 classes: InvokerInterceptor, MarshallingInvokerInterceptor, JRMPInvokerHA, JRMPInvokerProxyHA. Change the standardjboss.xml for InvokerInterceptor and MarshallingInvokerInterceptor, Change the cluster-service.xml for JRMPInvokerHA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844319#3844319 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844319 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: conf/web.xml gets truncated
And when you remove the write mode from the file there is not an exception indicating what is overwriting this file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844320#3844320 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844320 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: SessionBean Interceptor--accessing SessionContext
If your past the instance acquisition interceptor then its available from the Invocation.getEnterpriseContext() method. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844321#3844321 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844321 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?
You should only have to replace the InvokerInterceptor. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844322#3844322 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844322 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user