Re: [JBoss-user] Loadbalancer
Hello, in the JBoss cvs repository (or you can download the source of JBoss) is a loadbalancer included, if you compile the JBoss source you will find the sar file under varia\output\lib. You have to unpack this sar file to make your own entries in the jboss-service.xml (I also unpacked the war file which is included in the sar file, but there I havn't changed anything). If you get it to work correctly let me know. Bye Björn PS: To mod_jk2 see my mail Strange load balancing behavior with mod_jk2 PPS: Does your mod_jk work, because I need a loadbalancer to get the SPECjAppServer Benchmark to work. Felipe Oliveira schrieb: hi, which jboss loadbalancer are you talking about? i am currently using mod_jk and i am not really happy about it. i didn't know jboss had its own. any ideas where i can get more info about it? thanks, felipe Björn Weis wrote: Hi, I try to use the JBoss loadbalancer, but it doesn't work. When I first request the site, I get a cookie JBoss_LB_ID Value=-2105261236 Path=/. Then I logged in the site (it's a Servlet), I get a second cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/SPECjAppServer. Now I browse through the site, I get a third cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/. Ok, I can browse through the site and all seems to work, but if I log off and log in again without deleting the cookies. First I get a new JSESSIONID Value=ABC801D26C624EC58CC20B2B318ADA4E Path=/SPECjAppServer. When I now want to browse I get a new cookie JSESSIONID Value=612EDB9531822ED53157F4CA04604258 Path=/SPECjAppServer and a message that the user isn't logged in. That is clear because the JSESSIONID with Path=/SPECjAppServer were overwritten, but why and which component does the overwrite? The config files of the loadbalancer are the default one I only change the hosts. I tried that with the new loadbalacer from the jboss-head-snapshot (from today) and with the jboss-3.2-snapshot (from yesterday). The server is a JBoss 3.2.3 on a Suse 8.2. In the jboss-head-snapshot loadbalncer I replaced org.jboss.util.xml.XmlHelper with org.jboss.metadata.MetaData, so that it worked in the 3.2.3 server. I hope you can help me with that problem. Thanx Björn --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] problem with host name resolivng via http invoker
HI all, I have a problem , first look at the output i get 10:43:58,458 DEBUG [WorkClientEJBServiceLocator] Using the JNDI URL :http://localhost:80/invoker/JNDIFactory 10:43:58,520 DEBUG [HttpNamingContextFactory] Retrieving content from : http://localhost:80/invoker/JNDIFactory 10:43:58,583 DEBUG [HttpNamingContextFactory] ContentLength: -1 ContentType: application/x-java-serialized-object; class=org.jboss.invocation.MarshalledValue 10:43:58,989 INFO [Util] The URL value obtained from cleint:http://192.168.0.146:80/invoker/JMXInvokerServlet 10:43:59,114 DEBUG [EJBServiceLocator] Singleton instance of EJBServiceLocator class 'de.sepp.client.WorkClientEJBServiceLocator' created. 10:43:59,130 INFO [Util] The URL used is :http://192.168.0.146:80/invoker/JMXInvokerServlet At the first time the JNDI invocation is done withe same URL as i have provided but later while accessing the JMXInvokerServlet its resolving the IP address and instead of the host name well i can change this in the http-invoker.sar/meta-inf/jboss-service.xml by setting USeHostName property to true but what it does is it takes the InetAddress.getHostName which is nothing but the computer name in my case i am using a reverse proxy and there are two different ways of accessing this machine. From local lan it is called xx1 and from outside it is called xx2. So my request is in the second instance also it should whatever hostname i gave it in the JNDI url...is it possible any suggestions or solutions thanks in advace jani -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Scott M Stark Gesendet: Donnerstag, 14. August 2003 13:09 An: [EMAIL PROTECTED] Betreff: Re: [JBoss-user] Accessing a ResourceBundle from a MDB Typically WEB-INF/classes is not visable outside of the associated war. Move the common resources to the mdb jar or a common jar referenced by the ear -- Scott Stark Chief Technology Officer JBoss Group, LLC Brian McSweeney wrote: Hi all, Im deploying my app on JBoss 3.2.1_tomcat-4.1.24 Im deploying an ear which contains a war which uses Struts as the web controller. The back end uses ejbs in an ejb-jar file. Im using a resource bundle properties file successfully in my struts actions to internationalize the app. The resource bundle properties file is in the folder war file in the folder: /WEB-INF/classes All the struts actions are here too. However I also need to load the resource bundle from the back end. When I try to load the resource bundle from a Message Driven Bean it cant find the file. Now the class files for the back end in the ear are in the appname-ejb.jar file. I had hoped that if they were packaged together in the one ear than, maybe theyd be able to see all the classes, but perhaps not. So should I just copy the resource bundle file into the ejb.jar file So that my session beans and message driven beans can see the properties file? Thanks for any responses, Regards, Brian --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] problems with Locale (continued ...)
Hi there, I am still having problems with tomcat deployement. Every time I tweak a package to bypass the LocalStrings problem, another LocalStrings is needed, continuing the problem over and over. Is it a Tomcat problem ? Is there a way to force another locale ? JBoss' system property dump : 10:20:14,612 DEBUG [ServerInfo] Full System Properties Dump 10:20:14,614 DEBUG [ServerInfo] java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition 10:20:14,615 DEBUG [ServerInfo] jboss.server.base.dir: /export/home/mount/rtadmin/jboss-3.2.2/server 10:20:14,615 DEBUG [ServerInfo] java.protocol.handler.pkgs: org.jboss.net.protocol 10:20:14,616 DEBUG [ServerInfo] sun.boot.library.path: /export/products/bea/jdk131/jre/lib/sparc 10:20:14,616 DEBUG [ServerInfo] jboss.server.lib.url: file:/export/home/mount/rtadmin/jboss-3.2.2/server/standjms/lib/ 10:20:14,617 DEBUG [ServerInfo] java.vm.version: 1.3.1-b24 10:20:14,617 DEBUG [ServerInfo] java.vm.vendor: Sun Microsystems Inc. 10:20:14,617 DEBUG [ServerInfo] java.vendor.url: http://java.sun.com/ 10:20:14,618 DEBUG [ServerInfo] path.separator: : 10:20:14,618 DEBUG [ServerInfo] java.vm.name: Java HotSpot(TM) Server VM 10:20:14,619 DEBUG [ServerInfo] file.encoding.pkg: sun.io 10:20:14,619 DEBUG [ServerInfo] program.name: run.sh 10:20:14,693 DEBUG [ServerInfo] java.vm.specification.name: Java Virtual Machine Specification 10:20:14,693 DEBUG [ServerInfo] user.dir: /home/mount/rtadmin/jboss-3.2.2/bin 10:20:14,694 DEBUG [ServerInfo] jboss.server.base.url: file:/export/home/mount/rtadmin/jboss-3.2.2/server/ 10:20:14,694 DEBUG [ServerInfo] java.runtime.version: 1.3.1-b24 10:20:14,694 DEBUG [ServerInfo] java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment 10:20:14,694 DEBUG [ServerInfo] os.arch: sparc 10:20:14,695 DEBUG [ServerInfo] java.io.tmpdir: /var/tmp/ 10:20:14,695 DEBUG [ServerInfo] line.separator: 10:20:14,695 DEBUG [ServerInfo] jbossmx.loader.repository.class: org.jboss.mx.loading.UnifiedLoaderRepository3 10:20:14,695 DEBUG [ServerInfo] java.vm.specification.vendor: Sun Microsystems Inc. 10:20:14,696 DEBUG [ServerInfo] java.awt.fonts: 10:20:14,696 DEBUG [ServerInfo] os.name: SunOS 10:20:14,696 DEBUG [ServerInfo] jboss.bind.address: 0.0.0.0 10:20:14,696 DEBUG [ServerInfo] jboss.server.temp.dir: /export/home/mount/rtadmin/jboss-3.2.2/server/standjms/tmp 10:20:14,697 DEBUG [ServerInfo] jboss.home.dir: /export/home/mount/rtadmin/jboss-3.2.2 10:20:14,697 DEBUG [ServerInfo] java.library.path: /export/products/bea/jdk131/bin/../jre/lib/sparc/server:/export/products/ bea/jdk131/bin/../jre/lib/sparc::/export/products/bea/jdk131/bin/../jre/../lib/sparc:/home/rtadmin/tibco/lib/solaris-5.6_sunpro: /usr/lib 10:20:14,697 DEBUG [ServerInfo] jboss.server.home.dir: /export/home/mount/rtadmin/jboss-3.2.2/server/standjms 10:20:14,697 DEBUG [ServerInfo] java.specification.name: Java Platform API Specification 10:20:14,698 DEBUG [ServerInfo] java.class.version: 47.0 10:20:14,698 DEBUG [ServerInfo] jboss.server.config.url: file:/export/home/mount/rtadmin/jboss-3.2.2/server/standjms/conf/ 10:20:14,698 DEBUG [ServerInfo] jboss.home.url: file:/export/home/mount/rtadmin/jboss-3.2.2/ 10:20:14,698 DEBUG [ServerInfo] os.version: 5.7 10:20:14,699 DEBUG [ServerInfo] user.home: /home/rtadmin 10:20:14,699 DEBUG [ServerInfo] user.timezone: Europe/Paris 10:20:14,699 DEBUG [ServerInfo] java.awt.printerjob: sun.awt.motif.PSPrinterJob 10:20:14,699 DEBUG [ServerInfo] java.specification.version: 1.3 10:20:14,700 DEBUG [ServerInfo] file.encoding: 646 10:20:14,700 DEBUG [ServerInfo] jboss.server.home.url: file:/export/home/mount/rtadmin/jboss-3.2.2/server/standjms/ 10:20:14,700 DEBUG [ServerInfo] user.name: rtadmin 10:20:14,700 DEBUG [ServerInfo] java.class.path: /home/rtadmin/props.jar::/home/mount/rtadmin/jboss-3.2.2/bin/run.jar:/expor t/products/bea/jdk131/lib/tools.jar 10:20:14,701 DEBUG [ServerInfo] jboss.lib.url: file:/export/home/mount/rtadmin/jboss-3.2.2/lib/ 10:20:14,701 DEBUG [ServerInfo] jboss.server.name: standjms 10:20:14,701 DEBUG [ServerInfo] java.vm.specification.version: 1.0 10:20:14,701 DEBUG [ServerInfo] java.home: /export/products/bea/jdk131/jre 10:20:14,702 DEBUG [ServerInfo] java.specification.vendor: Sun Microsystems Inc. 10:20:14,702 DEBUG [ServerInfo] user.language: en 10:20:14,702 DEBUG [ServerInfo] java.vm.info: mixed mode 10:20:14,702 DEBUG [ServerInfo] java.version: 1.3.1 10:20:14,703 DEBUG [ServerInfo] java.ext.dirs: /export/products/bea/jdk131/jre/lib/ext 10:20:14,703 DEBUG [ServerInfo] jboss.server.data.dir: /export/home/mount/rtadmin/jboss-3.2.2/server/standjms/data 10:20:14,703 DEBUG [ServerInfo] sun.boot.class.path: /export/products/bea/jdk131/jre/lib/rt.jar:/export/products/bea/jd 10:20:14,703 DEBUG [ServerInfo] java.vendor: Sun Microsystems Inc.
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
hi, --- Alastair Rodgers [EMAIL PROTECTED] wrote: Out of interest, what happens if you omit min-pool-size/max-pool-size? Does this mean connections are not pooled, or does JBoss still use a pool but with some default settings instead? If the latter, where do the defaults come from? max-pool-size and min-pool-size do work perfectly as can be seen in the server.log. Without them the default values as can be seen in server.log are 20 and 0 MJ __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Loadbalancer
yea mod_jk works. mod_jk2 works too but i find it very inconsistent. i will try this jboss one. thanks! Björn Weis wrote: Hello, in the JBoss cvs repository (or you can download the source of JBoss) is a loadbalancer included, if you compile the JBoss source you will find the sar file under varia\output\lib. You have to unpack this sar file to make your own entries in the jboss-service.xml (I also unpacked the war file which is included in the sar file, but there I havn't changed anything). If you get it to work correctly let me know. Bye Björn PS: To mod_jk2 see my mail Strange load balancing behavior with mod_jk2 PPS: Does your mod_jk work, because I need a loadbalancer to get the SPECjAppServer Benchmark to work. Felipe Oliveira schrieb: hi, which jboss loadbalancer are you talking about? i am currently using mod_jk and i am not really happy about it. i didn't know jboss had its own. any ideas where i can get more info about it? thanks, felipe Björn Weis wrote: Hi, I try to use the JBoss loadbalancer, but it doesn't work. When I first request the site, I get a cookie JBoss_LB_ID Value=-2105261236 Path=/. Then I logged in the site (it's a Servlet), I get a second cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/SPECjAppServer. Now I browse through the site, I get a third cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/. Ok, I can browse through the site and all seems to work, but if I log off and log in again without deleting the cookies. First I get a new JSESSIONID Value=ABC801D26C624EC58CC20B2B318ADA4E Path=/SPECjAppServer. When I now want to browse I get a new cookie JSESSIONID Value=612EDB9531822ED53157F4CA04604258 Path=/SPECjAppServer and a message that the user isn't logged in. That is clear because the JSESSIONID with Path=/SPECjAppServer were overwritten, but why and which component does the overwrite? The config files of the loadbalancer are the default one I only change the hosts. I tried that with the new loadbalacer from the jboss-head-snapshot (from today) and with the jboss-3.2-snapshot (from yesterday). The server is a JBoss 3.2.3 on a Suse 8.2. In the jboss-head-snapshot loadbalncer I replaced org.jboss.util.xml.XmlHelper with org.jboss.metadata.MetaData, so that it worked in the 3.2.3 server. I hope you can help me with that problem. Thanx Björn --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss4 and EJB2.1 ejb-ql?
Hey all, Grabbed a snapshot of 4.0DR3 as it is the most recent to see if the aggregate functions defined in EJB2.1 are ready to go. Unfortunately, this query did not work or my code is wrong. EJB-QL SELECT SUM(o.amountpaid) FROM MyTable AS o Jboss-QL SELECT SUM(o.amountpaid) FROM MyTable AS o It gives the the error: 09:34:36,460 ERROR [STDERR] org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not found 09:34:36,460 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.p arse(EJBQLParser.java:38) 09:34:36,460 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompi ler.compileEJBQL(JDBCEJBQLCompiler.java:146) 09:34:36,460 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery .init(JDBCEJBQLQuery.java:42) Any ideas please? -D --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss4 and EJB2.1 ejb-ql?
Check these change notes. EJB2.1 is not yet supported but you can do it in JBossQL in 3.2 and HEAD. [ 794199 ] Functions in SELECT clause http://sourceforge.net/tracker/?func=detailaid=794199group_id=22866at id=381174 [ 815115 ] JBossQL: SUM, AVG, MAX, MIN http://sourceforge.net/tracker/?func=detailaid=815115group_id=22866at id=381174 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Hartford Sent: Thursday, January 08, 2004 4:45 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] jboss4 and EJB2.1 ejb-ql? Hey all, Grabbed a snapshot of 4.0DR3 as it is the most recent to see if the aggregate functions defined in EJB2.1 are ready to go. Unfortunately, this query did not work or my code is wrong. EJB-QL SELECT SUM(o.amountpaid) FROM MyTable AS o Jboss-QL SELECT SUM(o.amountpaid) FROM MyTable AS o It gives the the error: 09:34:36,460 ERROR [STDERR] org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not found 09:34:36,460 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.p arse(EJBQLParser.java:38) 09:34:36,460 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompi ler.compileEJBQL(JDBCEJBQLCompiler.java:146) 09:34:36,460 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery .init(JDBCEJBQLQuery.java:42) Any ideas please? -D --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] problem with host name resolivng via http invoker
Replace: attribute name=InvokerURLPrefixhttp:///attribute attribute name=InvokerURLSuffix:8080/invoker/EJBInvokerServlet/attribute attribute name=UseHostNametrue/attribute with the explict url the client should use: attribute name=InvokerURLhttp://thehostiwant:8080/invoker/EJBInvokerServlet/at tribute this can also be system property name that is resolved at runtime in the client vm for the situation that the server does not know the external path the client takes to get to the server. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Janardhan Burugupalli Sent: Thursday, January 08, 2004 2:10 AM To: [EMAIL PROTECTED] Subject: AW: [JBoss-user] problem with host name resolivng via http invoker HI all, I have a problem , first look at the output i get 10:43:58,458 DEBUG [WorkClientEJBServiceLocator] Using the JNDI URL :http://localhost:80/invoker/JNDIFactory 10:43:58,520 DEBUG [HttpNamingContextFactory] Retrieving content from : http://localhost:80/invoker/JNDIFactory 10:43:58,583 DEBUG [HttpNamingContextFactory] ContentLength: -1 ContentType: application/x-java-serialized-object; class=org.jboss.invocation.MarshalledValue 10:43:58,989 INFO [Util] The URL value obtained from cleint:http://192.168.0.146:80/invoker/JMXInvokerServlet 10:43:59,114 DEBUG [EJBServiceLocator] Singleton instance of EJBServiceLocator class 'de.sepp.client.WorkClientEJBServiceLocator' created. 10:43:59,130 INFO [Util] The URL used is :http://192.168.0.146:80/invoker/JMXInvokerServlet At the first time the JNDI invocation is done withe same URL as i have provided but later while accessing the JMXInvokerServlet its resolving the IP address and instead of the host name well i can change this in the http-invoker.sar/meta-inf/jboss-service.xml by setting USeHostName property to true but what it does is it takes the InetAddress.getHostName which is nothing but the computer name in my case i am using a reverse proxy and there are two different ways of accessing this machine. From local lan it is called xx1 and from outside it is called xx2. So my request is in the second instance also it should whatever hostname i gave it in the JNDI url...is it possible any suggestions or solutions thanks in advace jani --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] problems with Locale (continued ...)
It is not a problem with the locale as it is looking for a properties bundle that is available, its a problem with that particular jdk resolving properties through the thread context class loader it would appear. When you added the resource properties bundle to the JBOSS_CLASSPATH you added the entire catalina.jar, only include the properties files. You have also already said that using jdk1.3.1_09 on windows works, while the solaris jdk is an older 1.3.1 version, so try using the 1.3.1_09 solaris jdk. You can also try disabling the tight integration of the tomcat web app class loader by setting the UseJBossWebLoader in the jbossweb-tomcat41.sar/META-INF/jboss-service.xml Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ionel GARDAIS Sent: Thursday, January 08, 2004 3:37 AM To: jboss-user Subject: [JBoss-user] problems with Locale (continued ...) Hi there, I am still having problems with tomcat deployement. Every time I tweak a package to bypass the LocalStrings problem, another LocalStrings is needed, continuing the problem over and over. Is it a Tomcat problem ? Is there a way to force another locale ? JBoss' system property dump : --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] problem with host name resolivng via http invoker
HI Scott, As u said i used the system property MyJMXUrl and added it to the http-invoker.sar/meta-inf/jboss-service.xml file as shown below. Here i guess after the dollar sign and in the flower brackets the system property should lie. attribute name=InvokerURL${MyJMXUrl}/attribute And i am setting this system property in the client start up before calling this servlet or making this invocation and i get the following error. As i analysed the property its self is not read and replaced . But if i use the complete URL as u said explicitly it works attribute name=InvokerURLhttp://thehostiwant:8080/invoker/EJBInvokerServlet/attrib ute but i want the system property to be working as some of my clients are in the local network and some are out side and both has differetn host names. So for different clients i can set at the start up this system property if it works. I thought there was some problem in the code of the class Util and added the else clause as follows but no use /** Validate that the invokerURL is set, and if not build it from * the invokerURLPrefix + host + invokerURLSuffix. */ protected void checkInvokerURL() throws UnknownHostException { if( invokerURL == null ) { InetAddress addr = InetAddress.getLocalHost(); String host = useHostName ? addr.getHostName() : addr.getHostAddress(); String url = invokerURLPrefix + host + invokerURLSuffix; setInvokerURL(url); } else setInvokerURL(invokerURL); } can u pls help me out as ur the author of this code .. thanks jani. Error code in the client is as follows java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory} javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.net.MalformedURLException: no protocol: null] at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContex tFactory.java:68) at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at de.sepp.util.EJBServiceLocator.initInitialContext(EJBServiceLocator.java:256 ) at de.sepp.util.EJBServiceLocator.getInstance(EJBServiceLocator.java:297) at de.sepp.client.support.WorkClientSupportProvider.init(WorkClientSupportPro vider.java:49) at de.sepp.client.MainApplication.main(MainApplication.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.MalformedURLException: no protocol: null at java.net.URL.init(Unknown Source) at java.net.URL.init(Unknown Source) at java.net.URL.init(Unknown Source) at org.jboss.invocation.http.interfaces.Util.resolveURL(Util.java:137) at org.jboss.invocation.http.interfaces.HttpInvokerProxy.readExternal(HttpInvok erProxy.java:121) at java.io.ObjectInputStream.readExternalData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.util.HashMap.readObject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:111) at
[JBoss-user] Change partition name for JBoss cluster configuration
Hi, I am trying to run JBoss 3.2.3 ina clustered environment for production. I need to change the name 'DefaultPartition'. The way I was doing was to search and replace every occurrence of 'DefaultPartition' within the following files with the name I wanted: - JBOSS_INSTALL_DIR/server/all/deploy/cluster-service.xml - JBOSS_INSTALL_DIR/server/all/deploy/deploy.last/farm-service.xml - JBOSS_INSTALL_DIR/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/META-INF/jboss.xml I wonder if there is an easy way of doing this error-prone task. Thanks a lot, Misak This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.
Re: [JBoss-user] Fw: problem in starting jboss4.0.0dr2
Sorry, now I remember I think, you have to run with the 'all' configuration. run.sh -c all or run.bat -c all Bill marco mistroni wrote: Hi all, i have just downloaded jboss4.0.0dr2 and installed it, but when i ran it i got following problem. Packages waiting for a deployer: [{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb- management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C: /jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-e jb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/ C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null } ] Incompletely deployed packages: [{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb- management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C: /jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-e jb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/ C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null } ] MBeans waiting for classes: none MBeans waiting for other MBeans: { objectName: jboss.system:service=DeploymentInfoURIResolver state: CREATED Waiting for me: jboss.net:service=WS4EEDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName: jboss.net:service=WS4EEDeployer state: CREATED I am waiting for: jboss.net:service=WebServiceEntityResolver state: RUNNING, jboss.system:service=DeploymentInfoURIResolver state: CREATED, jboss.net:service=Axis state: RUNNING Waiting for me: jboss.ejb:service=EJBDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName: jboss.ejb:service=EJBDeployer state: CREATED I am waiting for: jboss.net:service=WS4EEDeployer state: CREATED, jboss:service=WebService state: RUNNING, jboss.tm:service=TransactionManagerService state: RUNNING Waiting for me: jboss.ejb:service=ActivationSpecDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName: jboss.ejb:service=ActivationSpecDeployer state: CREATED I am waiting for: jboss.ejb:service=EJBEntityResolver state: RUNNING, jboss.jca:service=RaURIResolver state: RUNNING, jboss.ejb:service=EJBDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], Cause: Incomplete Deployment listing: Packages waiting for a deployer: [{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb- management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C: /jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-e jb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/ C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null } ] Incompletely deployed packages: [{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb- management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C: /jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-e jb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/ C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null } ] MBeans waiting for classes: none MBeans waiting for other MBeans: { objectName: jboss.system:service=DeploymentInfoURIResolver state: CREATED Waiting for me: jboss.net:service=WS4EEDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName: jboss.net:service=WS4EEDeployer state: CREATED I am waiting for: jboss.net:service=WebServiceEntityResolver state: RUNNING, jboss.system:service=DeploymentInfoURIResolver state: CREATED, jboss.net:service=Axis state: RUNNING Waiting for me: jboss.ejb:service=EJBDeployer state: CREATED } [EMAIL
[JBoss-user] JBoss 3.2.2/Oracle 9i - Connection handle is not currently associ ated with a ManagedConnection (need some help)
Hello All, We are trying to port our BEA Weblogic application to JBoss and are experiencing a new problem. The system gives the following exception. We did review the code and could not see why this should happen. Any ideas or tips on what we should be looking for? Thanks in advance for your time and help. rgds MS 2003-12-29 19:29:43,313 WARN [org.jboss.resource.connectionmanager.TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsis tent data in some cases of failure. 2003-12-29 19:29:43,422 ERROR [STDERR] [Mon Dec 29 19:29:43 PST 2003][ERROR][9628012][Debug.java:333]: Connection handle is not currently associated with a ManagedConnection [SQL]: UPDATE test_tab_1 SET str_1 = ? WHERE plx_courier_id = ? 2003-12-29 19:29:43,431 ERROR [STDERR] [ERROR]Connection handle is not currently associated with a ManagedConnection 2003-12-29 19:29:43,436 ERROR [STDERR] [Mon Dec 29 19:29:43 PST 2003][CALL STACK][9628012][java.sql.SQLException: Connection handle is not currently associated with a ManagedConnectionat org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(WrappedConnect ion.java:776) at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedCo nnection.java:206) at com.plx.framework.sql.SQLProcessor.execute(SQLProcessor.java:238) at com.plx.efw.server.variable.VariableHelper.addValue(VariableHelper.java:365) at com.plx.efw.server.courier.CourierSessionBean.add(CourierSessionBean.java:51 2) 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(Stateles sSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach edConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe ssionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor .java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:267) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:11 8) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinde rInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionConta iner.java:331) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionConta iner.java:331) at org.jboss.ejb.Container.invoke(Container.java:700) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFacto ry.java:375) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionPro xy.java:83) at $Proxy146.add(Unknown Source) at com.plx.efw.common.command.CourierAddMapActSetCommand.executeCommand(Courier AddMapActSetCommand.java:154) at com.plx.efw.common.command.CourierCommand.execute(CourierCommand.java:70) at com.plx.framework.command.CommandServer.executeCommand(CommandServer.java:91 ) at com.plx.framework.command.CommandServer.execute(CommandServer.java:66) at com.plx.efw.server.command.EJBCommandServerBean.execute(EJBCommandServerBean .java:160) 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(Stateles sSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach edConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe ssionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor .java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:267) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:11 8) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinde rInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionConta iner.java:331)
[JBoss-user] JBoss 3.2.2/Oracle 9i - Unregistered handle that was not register ed (need some help)
Hello All, We are trying to port our BEA Weblogic application to JBoss and are seeing this entry being logged. Is this some cause for concern or is okay? Any ideas or tips on what we should be looking for? Thanks in advance for your time and help. rgds MS 2004-01-08 12:52:07,736 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Unregistered handle that was not registered! [EMAIL PROTECTED] for managedConnection: [EMAIL PROTECTED] 2004-01-08 12:52:07,781 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Unregistered handle that was not registered! [EMAIL PROTECTED] for managedConnection: [EMAIL PROTECTED] 2004-01-08 12:52:07,805 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Unregistered handle that was not registered! [EMAIL PROTECTED] for managedConnection: [EMAIL PROTECTED] 2004-01-08 12:52:07,822 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Unregistered handle that was not registered! [EMAIL PROTECTED] for managedConnection: [EMAIL PROTECTED] 2004-01-08 12:52:07,823 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Unregistered handle that was not registered! [EMAIL PROTECTED] for managedConnection: [EMAIL PROTECTED] 2004-01-08 12:52:07,966 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Unregistered handle that was not registered! [EMAIL PROTECTED] for managedConnection: [EMAIL PROTECTED] --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] problem with host name resolivng via http invoker
The system property usage would be: attribute name=InvokerURLMyJMXUrl/attribute Scott Stark Chief Technology Officer JBoss Group, LLC From: [EMAIL PROTECTED] on behalf of Janardhan Burugupalli Sent: Thu 1/8/2004 8:37 AM To: [EMAIL PROTECTED] Subject: AW: [JBoss-user] problem with host name resolivng via http invoker HI Scott, As u said i used the system property MyJMXUrl and added it to the http-invoker.sar/meta-inf/jboss-service.xml file as shown below. Here i guess after the dollar sign and in the flower brackets the system property should lie. attribute name=InvokerURL${MyJMXUrl}/attribute And i am setting this system property in the client start up before calling this servlet or making this invocation and i get the following error. As i analysed the property its self is not read and replaced . But if i use the complete URL as u said explicitly it works attribute name=InvokerURLhttp://thehostiwant:8080/invoker/EJBInvokerServlet/attrib ute but i want the system property to be working as some of my clients are in the local network and some are out side and both has differetn host names. So for different clients i can set at the start up this system property if it works. winmail.dat
RE: [JBoss-user] Change partition name for JBoss cluster configuration
the easiest way to change it is ... not to change it but simply change the multicast address so that there is no conflicts with other clusters. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boulatian, MisakSent: Thursday, January 08, 2004 7:06 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] Change partition name for JBoss cluster configuration Hi, I am trying to run JBoss 3.2.3 ina clustered environment for production. I need to change the name 'DefaultPartition'. The way I was doing was to search and replace every occurrence of 'DefaultPartition' within the following files with the name I wanted: - JBOSS_INSTALL_DIR/server/all/deploy/cluster-service.xml - JBOSS_INSTALL_DIR/server/all/deploy/deploy.last/farm-service.xml - JBOSS_INSTALL_DIR/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/META-INF/jboss.xml I wonder if there is an easy way of doing this error-prone task. Thanks a lot, Misak This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.
Re: AW: [JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion requested
Hi Heiko, Is this a bug with Oracle or withJBoss ? Does Oracle Client 9.2.0.4 work well with other App. Servers without makingchanges in the Data type mapping ? regards, Shubhu"Rupp, Heiko" [EMAIL PROTECTED] wrote: Hi, there is a bug report open on this (#729719) https://sourceforge.net/tracker/?func=detailatid=376687aid=729719group_id=22866 Can you confirm/verify the solution from there? Heiko -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED]im Auftrag vonshubhu mutta Gesendet: Mo 05.01.2004 09:35 An: [EMAIL PROTECTED] Cc: Betreff: [JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion requested Hi, I updated my Oracle Client from 9.2.0.1 to 9.2.0.4. Jboss is 3.2.0. After that I tried to execute my application and got this in server.log: javax.ejb.EJBException: Internal error setting parameters for field status; CausedByException is: Invalid conversion requested java.sql.SQLException: Invalid conversion requested at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java) at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java) at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setObject(WrappedPreparedStatement.java:607) at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.setParameter(JDBCUtil.java:280) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setArgumentParameters(JDBCAbstractCMPFieldBridge.java:301) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setInstanceParameters(JDBCAbstractCMPFieldBridge.java:280) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.insertEntity(JDBCCreateEntityCommand.java:285) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEntityCommand.java:182) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:569) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:225) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270) at org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:725) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:998) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:188) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:91) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:74) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:477) at org.jboss.ejb.Container.invoke(Container.java:694) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:88) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:175) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:82) at $Proxy194.create(Unknown Source) at home.create(uow); All worked fine before the Oracle update. The exception is thrown when setting the value for a EJB-Field of type Short. The default typemapping for Oracle9i is choosen (NUMERIC/NUMBER(5) ( specified in standarjaws.xml,standardjbosscmp-jdbc.xml). Has anybody encountered this problem ? Is it a bug with Oracle Client 9.2.0.4 ? My datasource definition is like this datasources local-tx-datasource jndi-nameOracleDS/jndi-name !--connection-urljdbc:oracle:thin:@(protected):1521:TEMP/connection-url-- connection-urljdbc:oracle:oci8:@bplin32/connection-url
[JBoss-user] Durable Subscription!!!
Hi... I need to do create a durable subscription to topic. I have created a topic in the using a MDB in the "jbossmq-destinations-service.xml". I would like to know the changes i have to make in order to make the topic durable. i get the following error at the moment. " javax.jms.JMSSecurityException: Connection not authorized to do durable subscription on topic: HeadOffice" Dilshan Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes