RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14
Hi Sacha, Here's the stack trace but its exactly the same as I got with Jetty release: === 2004-01-05 06:00:37,130 DEBUG [org.jboss.ha.framework.server.ClusterPartition] Starting ClusterPartition: DefaultPartition 2004-01-05 06:00:37,268 INFO [STDOUT] --- GMS: address is bplinux65:57954 (additional data: 17 bytes) --- 2004-01-05 06:00:37,403 DEBUG [org.javagroups.DefaultPartition] [Mon Jan 5 06:00:37 IST 2004] [ERROR] UDP.handleIncomingUdpPacket(): exception=java.io.IOException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.javagroups.protocols.PingRsp at org.jgroups.util.Marshaller.read(Marshaller.java:85) at org.jgroups.Message.readExternal(Message.java:352) at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:527) at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1119) at java.lang.Thread.run(Thread.java:536) 2004-01-05 06:00:39,440 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] ViewAccepted: initial members set === Thanks in advance, Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sacha Labourey Sent: Monday, January 05, 2004 5:16 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14 Please, send me the stacktrace of the Tomcat release, I will take a look. Cheers, sacha > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Nishant Aggarwal > Sent: mardi, 6. janvier 2004 02:46 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup > in JBoss3.2.3RC1_Jetty_4.2.14 > > Hi Sacha, > Thanks for the response! > Actually I tried with Tomcat version also as available on web > ,jboss3.2.3.tgz, as told by you ,but the error/exception > still persists! > Any clues? > > Nishant. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sacha > Labourey > Sent: Monday, January 05, 2004 12:58 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > JBoss3.2.3RC1_Jetty_4.2.14 > > > Can you try with the tomcat version? > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Nishant Aggarwal > > Sent: lundi, 5. janvier 2004 19:41 > > To: [EMAIL PROTECTED] > > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup > > in JBoss3.2.3RC1_Jetty_4.2.14 > > > > Any updates? > > > > Nishant. > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Nishant > > Aggarwal > > Sent: Wednesday, December 31, 2003 3:08 PM > > To: [EMAIL PROTECTED] Sourceforge. Net > > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > > > Hi Sacha, > > Thanks for the response! > > No,its the same "jboss-3.2.3RC1-jetty4.2.11.gz" distribution > > file downloaded > > as such from sourceforge site!! Not a single file change! > > Also I am using > > "RC1" of jboss3.2.3 and not "RC3" as you have mentioned. > > Anyhow,if you think its an old one,can you please send me the new > > "cluster-service.xml" which won't give this problem. > > I am attaching the "cluster-service.xml" which I got from the > > distribution. > > > > Thanks in advance, > > Nishant. > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Sacha > > Labourey > > Sent: Wednesday, December 31, 2003 12:56 AM > > To: [EMAIL PROTECTED] > > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > > > Are you using your own (old) cluster-service.xml partition > > definition? I > > think 3.2.3RC3 already uses the new package names i.e. > > org.jgroups instead > > of org.javagroups. > > > > sacha > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > Nishant Aggarwal > > > Sent: mercredi, 31. décembre 2003 22:06 > > > To: [EMAIL PROTECTED] > > > Subject: [JBoss-user] Exception in JBoss Cluster startup in > > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > > > Hi All, > > > I have just started running JBoss3.2.3Rc1_Jetty4.2.14 in > > > "all"/clustering > > > mode. > > > I had enabled "debug" options in "log4j.xml" for the > above release. > > > On running it ,I found the following exception,when starting > > > the deployment > > > of "cluster-service.xml",during JBoss startup. > > > --- > > > GMS: address is bplinux58:42181 (additional data: 18 bytes) > > > --- > > > 2003-12-31 00:48:55,186 DEBUG > > > [org.javagroups.DefaultPartition] [Wed Dec 31 > > > 00
RE: [JBoss-user] Distributed Cache for Entity Beans?
JBossCache: http://www.jboss.org/services/press/jbosscache.pdf Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach Sent: Wednesday, December 31, 2003 10:09 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Distributed Cache for Entity Beans? I've read somewhere in the JBoss documentation that JBoss 3.x is somewhat limited in distributing Entity Beans: Changes have to be persisted at once ("write through") and before reading, an Entity Bean has to synchronize with the database. This essentially disables caching and places a heavy burden on the database in situations where dirty reads are unacceptable. Are there any plans to outfit JBoss with a distributed Entity Bean cache? Regards, Andreas --- 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Tomcat and Java2ClassLoadingCompliance attribute
The jmx-console starts up fine. Only the web-console is failing due to the fact that is it using a singleton that breaks when the class is reloaded in a different class loader due to these settings because of using Java2ClassLoadingCompliance=false. It works fine with Java2ClassLoadingCompliance=true and UseJBossWebLoader=false. You can set the parent delegation false on a war basis using a jboss-web.xml: Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Moulton Sent: Monday, January 05, 2004 5:03 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Tomcat and Java2ClassLoadingCompliance attribute Scott, I have tried all combinations of UseJBossWebLoader and Jave2ClassLoadingCompliance without any luck. When I set both attributes to false all web applications break, including web-console and jmx-console. I have included some a log showing the exceptions received when both attributes are set to false. --- 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Tomcat and Java2ClassLoadingCompliance attribute
Scott, I have tried all combinations of UseJBossWebLoader and Jave2ClassLoadingCompliance without any luck. When I set both attributes to false all web applications break, including web-console and jmx-console. I have included some a log showing the exceptions received when both attributes are set to false. jboss.log.zip Description: Zip archive -- Mike .. Mike Moulton [EMAIL PROTECTED] On Jan 2, 2004, at 7:17 PM, Scott M Stark wrote: Turn off the unified class loader behavior by setting the UseJBossWebLoader value to false: false Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Moulton Sent: Friday, January 02, 2004 2:46 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Tomcat and Java2ClassLoadingCompliance attribute I have an application EAR that contains 1 ejb-jar and 2 war's. My web applications require the 'Java2ClassLoadingCompliance' attribute of the servlet container service to be disabled. During testing of JBoss-3.2.3 with Tomcat 4 I have run into problems when setting this attribute to 'false'. Previously I have only used Jetty with JBoss so forgive any ignorance with tomcat specific issues. One of my main problems stems from the use of FormProc in both of my applications. Each WAR has it's own formproc.xml in WEB-INF/classes, however only 1 formproc.xml is seen by both WAR's. This same behavior is seen with the 'Java2ClassLoadingCompliance' attribute enabled or disabled. Providing unique names to the configuration files solves the problem, however in JBoss-3.2.3 w/Jetty 4.2.15 I am able to run the application as expected with the 'Java2ClassLoadingCompliance' attribute disabled. In an attempt to troubleshoot I also started playing with the 'UseJbossWebLoader' attribute in tomcat's jboss-service.xml. I did notice that if both the 'UseJbossWebLoader' and 'Java2ClassLoadingCompliance' attributes are set to false, all deployed web applications, including jmx-console and web-console, break. What, if any, is the relationship between these 2 attributs? Are they mutually exclusive? Has anyone had any similar experiences, or possibly shed some light on what I might be doing wrong. Thanks, -- Mike .. Mike Moulton [EMAIL PROTECTED] --- 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user smime.p7s Description: S/MIME cryptographic signature
[JBoss-user] Distributed Cache for Entity Beans?
I've read somewhere in the JBoss documentation that JBoss 3.x is somewhat limited in distributing Entity Beans: Changes have to be persisted at once ("write through") and before reading, an Entity Bean has to synchronize with the database. This essentially disables caching and places a heavy burden on the database in situations where dirty reads are unacceptable. Are there any plans to outfit JBoss with a distributed Entity Bean cache? Regards, Andreas --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jms security roles
On Tue, 2003-12-30 at 13:02, Ionel GARDAIS wrote: > hi, > > how to add/change security roles on dynamicaly created > JMS queues ? > > I am creating a JMS queue using the jmx-console but > when I try to send a message, I get an exception : > > 13:46:56,541 WARN [OILServerILService] Client request > resulted in a server exception: > javax.jms.JMSSecurityException: Connection not > autorized to addMessages to destination: 4731602 > at > org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:160) >at > org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270) >at > org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136) >at > org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:253) > at java.lang.Thread.run(Thread.java:479) > > I specify a username/password when I create the > QueueConnection. > The username/password/role definition exists in the > jbossms-state.xml > > I just need to assign read/write authorization to the > roles via the jmx-console. > You need to add the queue's configuration to the security manager (jboss.mq:service=SecurityManager) the operation is either addDestination(String destName, String conf); or addDestination(String destName, Element conf); where destName is the internal name of the queue/topic, e.g. QUEUE.myQueue and conf is the xml you would define on a static configuration e.g. Regards, Adrian > Thanks, > ionel > > ___ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franÃais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > --- > 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=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Clustering Problem in Jboss3.2.3Rc1_Jetty4.2.14
Ok, then if it simply "hangs", I need a full thread stack dump (CTRL+BREAK on Windows) Cheers, sacha > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Nishant Aggarwal > Sent: mercredi, 31. décembre 2003 05:34 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Clustering Problem in > Jboss3.2.3Rc1_Jetty4.2.14 > > Hi Sacha, > Thanks for the response! > Actually ,there is no error from "cluster.log" as I can see from it.I > thought that the below scenario would have explained the > situation. But, > nevertheless ,here's the whole problem description: > - > I am running JBoss server as a thread in my application and > one more thread > is waiting for it to complete for a time period of 5 > minutes.There is a ping > java thread running in my system which just ping on a machine > after some > time interval and returns. > Above scenario used to work fine in clustering mode for > JBoss3.2.2RC3_Jetty4.2.11,except for "additional data" issue.All my > application ears(2 in number) used to deploy successfully in > the given time. > Now since we needed to move to > JBoss3.2.3RC1_Jetty4.2.11[JDK1.4.2],JBoss > server itself fails to start itself completely. > It only deploys "one" of my ear file and the other one never gets any > chance.One particular observation was that ,it waits for a > considerable > amount of time once, it starts deploying "cluster-service" > xml. I am seeing > only my "ping" thread output after the "cluster-service.xml" > deployment. > Before "cluster-service.xml" file deployment,everything > deploys as it used > to do as I can see from "server.log". > - > > Pls let me know in case of any more inputs! > > Thanks in advance, > Nishant. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sacha > Labourey > Sent: Tuesday, December 30, 2003 6:38 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Clustering Problem in > Jboss3.2.3Rc1_Jetty4.2.14 > > > We need the stacktrace of the errors at least. > > sacha > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Nishant Aggarwal > > Sent: mercredi, 31. décembre 2003 05:03 > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Clustering Problem in > Jboss3.2.3Rc1_Jetty4.2.14 > > > > Hi, > > I have an application which used to run on JBoss3.2.2RC3_jetty4.2.11 > > [JDK1.3.1_08]. > > Since there was some problem in clustering[(additional data) > > not coming] > > with the above version,we had decided to move to > > "JBoss3.2.3RC1_jetty4.2.14[JDK1.4.2]". > > But in this release(3.2.3RC1),we have encountered another > > problem ,due to > > which my application "ears" fail to deploy completely,if the > > "cluster-service" is run. > > Here is the problem description: > > 1.If the "cluster-service.xml" is there,then one of my > application ear > > deploys successfully,but other one fails. > > 2.If I remove "cluster-service.xml",both of my application > > ears get deployed > > successfully ,no probs,like the way they used to do in > Jboss3.2.2RC3. > > > > NOTE:I used to run the above application in "Jboss3.2.2RC3" > > in cluster mode > > without any "deployment" issues as mentioned above. > > > > Any help would be greatly appreciated! > > > > Thanks in advance, > > Nishant. > > > > > > > > > > --- > > 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=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_id78&alloc_id371&op=ick > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ---
RE: [JBoss-user] java.util.Date with Jboss3.2.3
To fix what exactly? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Darren Hartford > Sent: Wednesday, December 24, 2003 7:52 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] java.util.Date with Jboss3.2.3 > > Hey all, > Using CMP and JBoss3.2.3, using a field with java.util.Date breaks. > > This sucks - you can not effectively use the Jboss-Net > WebServices on any objects created from the CMP (like > value-objects) directly and quickly and instead have to > specifically cast those particular fields from java.sql.Date > to java.util.Date. That is, of course, inefficient and stupid. > > Luckily, some people did find this issue and fixed a portion > of the problem in the CVS version of 3.2-BRANCH. > https://sourceforge.net/tracker/?func=detail&atid=376685&aid=8 > 37092&group_id=22866 > > I am still having problems using finder methods on fields > that use java.util.Date. The symptom is it appears to look > for the date +1900 years when it goes to retrieve the record. > Has anyone successfully used java.util.Date in their > environments with Jboss 3.2.X? If not, does anyone else > think this would be a good thing to fix? > > -D > > > --- > 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_id78&alloc_id371&op=ick > ___ > 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] CMR fields and sorting?
There is no way at the moment to tell JBoss to sort CMR collections. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Poppe, Troy > Sent: Monday, December 29, 2003 11:03 PM > To: Jboss User (E-mail) > Subject: [JBoss-user] CMR fields and sorting? > > > I am using XDoclet to generate EJBs that have some CMR > fields. I'm using the XDoclet VO's as well. > > I'm curious if anyone knows of a way to sort the CMR field > given some Comparator class. Not sure if there is a way to > do this with JBoss during the construction of the EJB object, > or with XDoclet, or in the XDoclet produced code. > > Thanks. > > Troy > > > > --- > 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Cannot send a message to the JMS server
On Tue, 2003-12-23 at 18:15, Neal Sanche wrote: > Of course it does. The question is, the JBoss instance is always > talking to itself, on the same machine. Shouldn't the TCP/IP > connection just stay up all the time? I've never encountered this > behaviour before JBoss 3.2.3. > Are you in the same virtual machine? Why not use java:/ConnectionFactory and forget about the sockets? Regards, Adrian > -Neal > > On December 23, 2003 12:56 pm, Adrian Brock wrote: > > The message says the tcp/ip connection was broken. > > > > You can monitor for this event using > > javax.jms.Connection.setExceptionListener() > > and reconnect. > > > > Regards, > > Adrian > > > > On Tue, 2003-12-23 at 17:44, Neal Sanche wrote: > > > Hi All, > > > > > > I'm running a JBoss on a machine that tends to have an IP address > > > change periodically on it's PPP adaptor. I am suspecting that > > > might be the reason for the following exceptions that I get after > > > a certain amount of time on my system: > > > > > > 2003-12-23 12:30:48,577 INFO [com.cartel.usc.jmx.TimerService] > > > org.jboss.mq.SpyJMSException: Cannot send a message to the JMS > > > server; - nested throwable: (java.net.SocketException: Broken > > > pipe) 2003-12-23 12:31:45,748 WARN [org.jboss.mq.Connection] > > > Connection failure: > > > org.jboss.mq.SpyJMSException: Connection Failed; - nested > > > throwable: (java.io.IOException: ping timeout.) > > > at > > > org.jboss.mq.Connection.asynchFailure(Connection.java:718) at > > > org.jboss.mq.Connection$PingTask.run(Connection.java:1311) at > > > EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDae > > >mon.java:364) at java.lang.Thread.run(Thread.java:534) > > > Caused by: java.io.IOException: ping timeout. > > > at > > > org.jboss.mq.Connection$PingTask.run(Connection.java:1303) ... 2 > > > more > > > > > > This happens overnight, with a JMX service simply sending a JMS > > > message to a Topic every minute. When the JMX service starts it > > > allocates the JMS resources it needs, Connection, Topic, Session > > > and so on. Those will remain static. I've just tried stopping and > > > restarting my service, and it's working again. Very odd. I guess > > > I'll handle the exception myself, but reallocating the resources > > > on a SpyJMSException. Any ideas why this is happening though? > > > > > > Thanks. > > > > > > -Neal > > > > > > > > > > > > --- > > > 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=1278&alloc_id=3371&op=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=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14
BTW, why don't you use a final release? Frankly, I am not very keen on "debugging" an RC release when an official release is already out. Cheers, sacha > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Nishant Aggarwal > Sent: mercredi, 31. décembre 2003 23:58 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup > in JBoss3.2.3RC1_Jetty_4.2.14 > > Hi Sacha, > Thanks for the response! > No,its the same "jboss-3.2.3RC1-jetty4.2.11.gz" distribution > file downloaded > as such from sourceforge site!! Not a single file change! > Also I am using > "RC1" of jboss3.2.3 and not "RC3" as you have mentioned. > Anyhow,if you think its an old one,can you please send me the new > "cluster-service.xml" which won't give this problem. > I am attaching the "cluster-service.xml" which I got from the > distribution. > > Thanks in advance, > Nishant. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sacha > Labourey > Sent: Wednesday, December 31, 2003 12:56 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > JBoss3.2.3RC1_Jetty_4.2.14 > > > Are you using your own (old) cluster-service.xml partition > definition? I > think 3.2.3RC3 already uses the new package names i.e. > org.jgroups instead > of org.javagroups. > > sacha > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Nishant Aggarwal > > Sent: mercredi, 31. décembre 2003 22:06 > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Exception in JBoss Cluster startup in > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > Hi All, > > I have just started running JBoss3.2.3Rc1_Jetty4.2.14 in > > "all"/clustering > > mode. > > I had enabled "debug" options in "log4j.xml" for the above release. > > On running it ,I found the following exception,when starting > > the deployment > > of "cluster-service.xml",during JBoss startup. > > --- > > GMS: address is bplinux58:42181 (additional data: 18 bytes) > > --- > > 2003-12-31 00:48:55,186 DEBUG > > [org.javagroups.DefaultPartition] [Wed Dec 31 > > 00:48:55 IST 2003] [ERROR] UDP.handleIncomingUdpPacket(): > > exception=java.io.IOException: java.lang.ClassNotFoundException: No > > ClassLoaders found for: org.javagroups.protocols.PingRsp > > at org.jgroups.util.Marshaller.read(Marshaller.java:85) > > at org.jgroups.Message.readExternal(Message.java:352) > > at > > org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:527) > > at > org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1119) > > at java.lang.Thread.run(Thread.java:536) > > --- > > > > Kindly help me sort out this problem as its hampering our > > development!! > > I am also attaching the "Server.log" for this problem. > > > > Thanks in advance, > > Nishant. > > > > > > --- > 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_id78&alloc_id371&op=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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Could not create entity:COM.ibm.db2.jdbc.DB2Exception
Hi, I had the same problem but found the solution in the JBoss forum. You have to define a new mapping in standardjbosscmp-jdbc.xml: [B VARBINARY BLOB(2000) This will let you use byte arrays (byte[]) for blobs. "Lazyboy" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 16-12-2003 08:58 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject [JBoss-user] Could not create entity:COM.ibm.db2.jdbc.DB2Exception hi,everyone I want to use blob,my table is: +++ | VARCHAR | BLOB | +++ But,there is something wrong,like below: javax.ejb.CreateException: Could not create entity:COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0123E SQL data type out of range¡£ SQLSTATE=HY004 at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbs tractCreateCommand.java:311) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractC reateCommand.java:144) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager. java:518) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager .java:208) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity( CachedConnectionInterceptor.java:269) at org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:736) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j ava:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer. java:1042) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java: 88) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchr onizationInterceptor.java:197) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(Ca chedConnectionInterceptor.java:214) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java: 88) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInter ceptor.java:89) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.j ava:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInter ceptor.java:28) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.j ava:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.ja va:267) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:98) 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(ProxyFactoryFin derInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:484) at org.jboss.ejb.Container.invoke(Container.java:720) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j ava:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatch er.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j ava:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.r
Re: [JBoss-user] Session/Entity Bean Transaction Rollback
http://www.mysql.com/doc/en/InnoDB.html Regards, Adrian On Mon, 2003-12-22 at 15:22, [EMAIL PROTECTED] wrote: > Hi, > > I forgot something, > I am not shure if this is important: Im am using mySQL > as RDBMS. The Datasource is configured as follows: > > > > > mySQL_partnerMgmt > jdbc:mysql://localhost/partnerMgmt > org.gjt.mm.mysql.Driver > root > > > > > > > Hi, > > > > I have a sessionbean (stateless), that provides a > > method to create some entitys. If the creation of one > > Entity fails, I want do rollback all creations, there > > should be one or all entitys in the DB. I tried to > > set transaction type="required" on the method and I > > throw EJB Exceptions if something goes wrong, but after > > the method fails, there are still some entitys left. > > > > Is there a way to tell JBoss to delete all entitys > > created in the method if the creation of one fails ? > > > > The method looks like this (not actual code :-) > > > > createXXX(){ > > entityHome.create(1); > > entityHome.create(2); > > entityHome.create(3); > > return; > > } > > > > If create(3) failes, I dont want to have 1 and 2 in my database. > > > > Thanks a lot in advance, > > > > Stefan > > > > > > --- > > 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=1278&alloc_id=3371&op=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=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2.x and Virtual Hosting: Tomcat Broken, Jetty Works
Im having the same problem. I swapped to Jetty instead of Tomcat but upon starting up Jboss, only the enterprise apps are there(.ear files). The directories containing only web apps(wars like jmx-console) can not be accessed. Is there an additional step with Jetty? Thanks in advance! Mike On Dec 18, 2003, at 2:25 PM, Stefan Arentz wrote: My scenario was pretty simple, yet it took hours to get it done with tomcat. What I have is two web applications packaged in .ear files. Both of these apps are bound to / but to different hostnames. Like this in jboss-web.xml: / host1.blah.com First try: Tomcat 4.x I first tried this with JBoss3.2.3/Tomcat4. This does not work at all. Tomcat4 barfs when the second .ear is loaded. 2003-12-16 09:10:13,148 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:fluts.war org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.IllegalArgumentException: addChild: Child name '' is not unique) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java: 440) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) Maybe something newer: Tomcat 5.x Then I tried to do this with Tomcat 5.x that comes with JBoss 3.2.3. Unfortunately this also does not work. The first app deploys fine again but when the second one is loaded I get an IncompatibleClassChangeError. To the rescue: Jetty Enough of that Tomcat cr*p. I got rid of jbossweb-*, downloaded jboss-3.2.2-jetty-4.2.14.sar from http://jetty.mortbay.org, dropped it in the deploy directory. My JBoss version is 3.2.3, but this Jetty version works fine with it. Guess what ... I deployed my ear files and they worked. No errors, no weird class loaded stuff, no exceptions. Why oh why does JBoss not ship with Jetty anymore. It is clearly the servlet engine that works. Maybe my setup is unique. Maybe none of the 5 million people who downloaded JBoss use virtual hosting like this. I don't know. All I know is that I will run my production servers with Jetty for the simple reason that it is currently the only servlet container that can actually deploy standard applications. Bah. Four hours wasted. S. --- 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=1278&alloc_id=3371&op=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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] key auto-increment in Jboss3.2.2 and MySql
Hi, Some time ago, there was some discusion about auto-increment for the key (mySQL database is supported). But I looked email archive, I couldn't find answer to my question. Say I have an ejb bean with a key for auto-increment. What changes I should make to ejb-jar.xml (or other deployment descriptors, or something else) so that jboss will know the key is auto-increment-template? ( In the standardjbosscmp-jdbc.xml file, there was a line for mySQL database.: ?1 auto_increment ) If possible, any examples? Any help is appreciated. Mark Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003
RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Problem
Here is an example for 1:1 unidirectional relationship from B to A: In B: /** * @ejb.relation *name="A-B" *role-name="B-has-A" *target-ejb="A" *target-role-name="A-belongsto-B" *target-multiple="false" * @jboss.relation *related-pk-field="id" *fk-column="a_fk" * @ejb.interface-method */ public abstract ALocal getA(); /** * @ejb.interface-method */ public abstract void setA(ALocal value); Resulting DDs: ejb-jar.xml: A-B B-has-A One B a A-belongsto-B One A jbosscmp-jdbc.xml: A-B B-has-A A-belongsto-B id a_fk > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Hanson, Matthew > Sent: Monday, December 29, 2003 8:49 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [JBoss-user] 1:1 Unidirectional (Aggregate) > Relationship Problem > > Hi, > > I'm confused... I cannot remove the target-relation tag, > because it is needed to generate the jbosscmp-jdbc.xml > mappings for the relationshipp I'm trying to create. > > What I am trying to do is fetch data from tableB based on a > key found in tableA, in a 1:1 relationship, where tableB is > reference data and has no knowledge of tableA and used as a > lookup so that tableA doesn't need to store a bunch of > duplicate data for each entry. > > Here is an example of something I want to do: > > 1) Beer Recipe table > Recipe_Grain_Id - primary key > Grain_Type - integer mapping to the grain table mapping to > grain.grain_id > > 2) Grain table > Grain_Id - primary key > Grain_name - data > Grain data 1 > Grain data 2 > Etc. > > How should this relationship be set up? > > I initially thought of making it a 1:1 unidirectional, where > the recipe table can return the local bean object of the > grain itself. However, I don't seem to be able to get the > jbosscmp-jdbc.xml relationship element setup for jboss to > understand this. > > Is this just something that cannot be done in this context? > If it can be done, how would the relationship look in > jbosscmp-jdbc.xml (key-field, column-name, field-name)? Does > this have anything to do with primary key fields? The code > in JDBCRelationshipRoleMetaData.java, where the exceptions > have been thrown, seems to look like the grain_type column > from table #1 must be a primary key field. > > I'm lost... Can someone set me straight on if this > relationship should work??? I would really need to know > exactly how the relationship should look in jbosscmp-jdbc.xml. > > Thanks, in advance, for the help... > > Regards, > Matt Hanson --- 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] protected pages...
I have a page (struts-action) let's call it "home-page". This home-page needs to be accessible to both authenticated and unauthenticated users (it builds a menu based on your role). I've tried leaving the page unprotected but getRemoteUser() returns null... I've tried protecting the page, but guests (no credentials) are not allowed.. Sometime back someone suggested storing userid in a session.. but sessions are not allowed in this application (strong user requirement). To make matters more interesing.. when deployed, this application will be behind Siteminder control (i've been told that J2EE security ties very well with siteminder, including "guest" roles) So I don't know how to "protect" my application, including the "home-page". Any suggestions? Axel Guerrero --- 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [jboss-3.2.3] Unable to deploy web-console.war e rror
The problem is with the jboss.net deployer. It opens the archive using a classloader.getResource() (which under windows will lock the file) to see whether it contains a certain descriptor. You are seeing a difference because in the jboss distribution, jboss-net.sar is loaded before jbossweb-tomcat41.sar When you make the copy, the timestamps or nodes in the directory change such that jboss-net.sar is loaded after jbossweb-tomcat41.sar The deployers are asked to accept a deployment in the reverse order they are added. cygwin obviously preserves the original ordering of the files. If you remove jboss-net.sar the war will deploy correctly. If you remove the tomcat sar and *copy* it back, it will deploy after jboss.net (meaning jboss.net will not be asked to check the deployment). Regards, Adrian On Tue, 2003-12-30 at 17:54, Barlow, Dustin wrote: > My apologies, I didn't mean to reply to your personal email address. > > I enable TRACE level logging as you instructed. Attached to this email a > file called server.log.zip. > > > -Original Message- > From: Adrian Brock > To: Barlow, Dustin > Cc: [EMAIL PROTECTED] > Sent: 12/30/2003 12:29 PM > Subject: RE: [JBoss-user] [jboss-3.2.3] Unable to deploy web-console.war e > rror > > Please keep it on the list. > > Try enabling TRACE logging in conf/log4j.xml > to see whether it provides any more information in log/server.log: > > > > > > > > > > > Regards, > Adrian > > On Tue, 2003-12-30 at 17:17, Barlow, Dustin wrote: > > Just to rule that out, I did a "cp -Rv all foo" and the server comes > up > > fine, just like it did when I included the -p option. (-R means > recursive, > > -v means verbose). So, removing -p option doesn't cause the foo > server not > > to start like all the other copying methods do. > > > > I thought it might be a permissions issue early on, but I presume I > would > > have the same permission problem on startup when copying the default > server > > target to foo as well, but the problem doesn't occur. Only when > copying the > > all directory to foo (or any other name) does the error occur. > > > > I'm also pretty certain that it's not related to file permissions due > to the > > fact that I'm running with Administrator priviledges on the Windows > 2000 box > > and I have complete control over the directory tree that JBoss lives > and > > runs in. > > > > -Original Message- > > From: Adrian Brock > > To: [EMAIL PROTECTED] > > Sent: 12/30/2003 11:55 AM > > Subject: Re: [JBoss-user] [jboss-3.2.3] Unable to deploy > web-console.war > > error > > > > My guess is that the -p option on cygwin preserves the > > file system permissions, but the other methods do not. > > > > Regards, > > Adrian > > > > On Tue, 2003-12-30 at 16:49, Barlow, Dustin wrote: > > > JBoss Version: 3.2.3 > > > JVM: Sun 1.4.2-b28 > > > OS: Windows 2000 > > > > > > Using windows explorer, I copied an unmodified "all" server target > > directory > > > to "foo". I then ran "run.bat -c foo" from the command line and I > get > > the > > > following error: > > > > > > 11:34:10,019 INFO [MainDeployer] Starting deployment of package: > > > > file:/D:/java/jboss-3.2.3/server/foo/deploy/management/web-console.war > > > 11:34:10,120 ERROR [EmbeddedTomcatService] Problem in init > > > org.jboss.deployment.DeploymentException: Was unable to move war to: > > > > D:\java\jboss-3.2.3\server\foo\tmp\deploy\tmp16433web-console.war.tmp > > > at > > > > org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:296) > > > at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696) > > > at > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632) > > > at > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) > > > at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > > Impl > > > .java:25) > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > at > > > > > > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi > > spat > > > cher.java:284) > > > at > > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) > > > at > > org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) > > > at $Proxy6.deploy(Unknown Source) > > > at > > > > > > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentSc > > anne > > > r.java:302) > > > at > > > > > > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScan > > ner. > > > java:476) > > > at > > > > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doS > > can( > > > AbstractDeploymentScanner.java:201) > > > at > > > > > > org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abst > > ract > > > DeploymentScanner.java:274) > > > at > > > > > > org.jboss.system.ServiceMBeanSupport.start(ServiceMB
Re: [JBoss-user] jms message timeout
On Tue, 2003-12-23 at 17:05, Ionel GARDAIS wrote: > Hi, > > What happens if I publish messages to a topic which > nobody listens to ? > > Is the message lost ? Is it stored until someone > subscribes and get them ? > It is dropped, lost, ceases to be, it is an ex-message. > Does modifying the message's TTL allow to specify a > timeout for the message ? > No affect, it is set on the javax.jms.TopicPublisher or on the publish() operation. Regards, Adrian > thanks, > ionel > > ___ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franÃais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > --- > 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=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] declarative authentication
I have a page (really a struts action) that needs to be both secure (getRemoteUser() should return something) and insecure (for as yet unauthenticated users or 'guests') a thread not too long ago suggested storing the userid in the session and go from there, but in my case sessions are out of the question (client requirement). I've tried unauthenticatedIdentity in my login-config (using the DatabaseServerLoginModule) but no authentication happens on other protected areas (no browser login prompt) of the site and getRemoteUser() returns null on the secure/insecure action. Are there any suggestions? Axel Guerrero --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] security
On Tue, 2003-12-23 at 17:25, Mike Lindsey wrote: > Any good articles on jboss security? > http://sourceforge.net/docman/?group_id=22866 The JAAS howto > I know things like the jmx-console are security risks.. Is it still a > risk if it's password protected. Or better yet, running on a port > that's not accessable outside the firewall? It is always a risk, secured or otherwise. It depends how good your security is. I suggest you do some background on security in general so that you can assess that risk. Regards, Adrian -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Any projected dates for JBoss 4.x Release Candidate
We are currently formulating the release schedule for next year. Stay tuned. Bill Sasidharan, Manoj wrote: Hello All, Is there any planned date for the release of JBoss 4.0. We have plans to use some of the J2EE 1.4 spec features like Timer. rgds MS --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JMS queue simple question
Only on if you have Sun's html adapter deployed. For 3.x you'll have to change JBossMQ to jboss.mq 3.x uses http://localhost:8080/jmx-console Regards, Adrian On Tue, 2003-12-23 at 14:12, Ionel GARDAIS wrote: > Is this code still valid for topic/queue creation via > URL ? > > > //These are samples, not available in the example > code. > String method = "createTopic"; > String destName = "myCreated"; > > String action = "action=" + method + "?action=" + > method + > "¶m0%2Bjava.lang.String=" + destName; > > String arg = > "/InvokeAction//JBossMQ%3Aservice%3DServer" + "/" + > action; > > URL url = new URL("http", "localhost", 8082, arg); > > //Invoke the URL > HttpURLConnection con = > (HttpURLConnection)url.openConnection(); > con.connect(); > > > > thanks, > ionel > > ___ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franÃais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > --- > 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=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Cannot send a message to the JMS server
jndiContext.lookup("java:/ConnectionFactory"); Regards, Adrian > On Tue, 2003-12-23 at 20:27, Neal Sanche wrote: > My code is something like the following: > > /** > * Allocate the JMS Resources if needed. > */ > private void allocateResourcesIfNeeded() { > try { > InitialContext jndiContext = new InitialContext(); > Topic topic = (Topic) jndiContext > .lookup("topic/com.cartel.usc/timerTopic"); > TopicConnectionFactory factory = (TopicConnectionFactory) > jndiContext.lookup("ConnectionFactory"); > if (connection == null) > connection = factory.createTopicConnection(); > if (session == null) > session = connection.createTopicSession(false, > Session.AUTO_ACKNOWLEDGE); > if (publisher == null) > publisher = session.createPublisher(topic); > } catch (Throwable ex) { > log > .error("Unable to start Timer service. Will not perform > automated tasks."); > } > } > > And then I make calls, once per minute, that look like this: > > private void fireTimer() { > try { > allocateResourcesIfNeeded(); > TextMessage message = > session.createTextMessage(new java.util.Date().toString()); > publisher.publish(message); > } catch (JMSException e) { > deallocateResources(); > } catch (Throwable e) { > } finally { > } > } > > So, I may be using Sockets, but I'm certainly not doing it on purpose. > Everything is definitely in the same VM, what would I change? > > -Neal > > On December 23, 2003 03:10 pm, Adrian Brock wrote: > > > On Tue, 2003-12-23 at 18:15, Neal Sanche wrote: > > > > Of course it does. The question is, the JBoss instance is > > > > always talking to itself, on the same machine. Shouldn't the > > > > TCP/IP connection just stay up all the time? I've never > > > > encountered this behaviour before JBoss 3.2.3. > > > > > > Are you in the same virtual machine? > > > Why not use java:/ConnectionFactory and forget about the sockets? > > > > > > Regards, > > > Adrian > > > > > > > -Neal > > > > > > > > On December 23, 2003 12:56 pm, Adrian Brock wrote: > > > > > The message says the tcp/ip connection was broken. > > > > > > > > > > You can monitor for this event using > > > > > javax.jms.Connection.setExceptionListener() > > > > > and reconnect. > > > > > > > > > > Regards, > > > > > Adrian > > > > > > > > > > On Tue, 2003-12-23 at 17:44, Neal Sanche wrote: > > > > > > Hi All, > > > > > > > > > > > > I'm running a JBoss on a machine that tends to have an IP > > > > > > address change periodically on it's PPP adaptor. I am > > > > > > suspecting that might be the reason for the following > > > > > > exceptions that I get after a certain amount of time on my > > > > > > system: > > > > > > > > > > > > 2003-12-23 12:30:48,577 INFO > > > > > > [com.cartel.usc.jmx.TimerService] > > > > > > org.jboss.mq.SpyJMSException: Cannot send a message to the > > > > > > JMS server; - nested throwable: (java.net.SocketException: > > > > > > Broken pipe) 2003-12-23 12:31:45,748 WARN > > > > > > [org.jboss.mq.Connection] Connection failure: > > > > > > org.jboss.mq.SpyJMSException: Connection Failed; - nested > > > > > > throwable: (java.io.IOException: ping timeout.) > > > > > > at > > > > > > org.jboss.mq.Connection.asynchFailure(Connection.java:718) > > > > > > at > > > > > > org.jboss.mq.Connection$PingTask.run(Connection.java:1311) > > > > > > at > > > > > > EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Cl > > > > > >ockDae mon.java:364) at > > > > > > java.lang.Thread.run(Thread.java:534) Caused by: > > > > > > java.io.IOException: ping timeout. > > > > > > at > > > > > > org.jboss.mq.Connection$PingTask.run(Connection.java:1303) > > > > > > ... 2 more > > > > > > > > > > > > This happens overnight, with a JMX service simply sending a > > > > > > JMS message to a Topic every minute. When the JMX service > > > > > > starts it allocates the JMS resources it needs, Connection, > > > > > > Topic, Session and so on. Those will remain static. I've > > > > > > just tried stopping and restarting my service, and it's > > > > > > working again. Very odd. I guess I'll handle the exception > > > > > > myself, but reallocating the resources on a > > > > > > SpyJMSException. Any ideas why this is happening though? > > > > > > > > > > > > Thanks. > > > > > > > > > > > > -Neal > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > > 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/
RE: [JBoss-user] Local/Global transaction with MDB
On Wed, 2003-12-31 at 03:07, [EMAIL PROTECTED] wrote: > Adrian, > > Thanks for the answer. > > One little doubt that I'd like to clarify. In the Bean managed > transaction case, you are saying "Bean managed is similar to > NotSupported. Any transaction used to deliver the message is suspended > allowing you to start your own user transaction that is disconnected > from the original transaction." > > I though that in this case, the incoming message was not read within a > transaction, but just in JMS auto-acknoweldge mode, meaning that I > soon as onMessage is called, the JMS incoming message has been > acknowledge and it will never be delivered again (even if system crash > or exception thrown from onMessage). The only case it could be > re-delivered is if DUPS_OK_ACKNOWLEDGE is used in the ejb-jar.xml > instead of AUTO_ACKNOWLEDGE. > > Section 15.4.8 of EJB 2.0 spec: If bean managed transaction > demarcation is used, the message receipt cannot be part of the > bean-managed transaction, and, in this case, the receipt is > acknowledged by the container. If bean managed transaction demarcation > is used, the Bean Provider can indicate in the acknowedge-mode > deployment descriptor element whether JMS AUTO_ACKNOWLEDGE semantics > or DUPS_OK_ACKNOWLEDGE semantics should apply. > Whether the message receipt and onMessage are transactional are two independent processes/configurations. Only with "Required" are the two linked in the same transaction which requires an XAConnection to make it work consistently. Regards, Adrian > Thomas > > > -Original Message- > From: Adrian Brock [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 30, 2003 10:58 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Local/Global transaction with MDB > > > On Mon, 2003-12-29 at 14:40, [EMAIL PROTECTED] > wrote: > > Nobody answer, so I can assume that it is all correct ? :-) > > > > I do not want to trigger a lengthy debate that might have already > been > > discussed previously. I am just looking for some pointers if > something > > is not right in the way I think the MDB are working with > transactions. > > > > Thanks. > > > > Thomas > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 23, 2003 1:30 AM > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Local/Global transaction with MDB > > > > > > > > I am trying to list the different possible transaction options and > > behavior for a Message Driven that is also sending JMS messages as > > part of the logic of its onMessage operation. This subject has > already > > been touched through multiple post in the mailing list, but I did > not > > find any consolidated version. Here is what was able to determine > so > > far. Please, feel free to comment, especially if something is not > > accurate. > > > > Thanks. > > > > Container-managed transaction > > === > > - The trans-attribute of the onMessage operation can be set > to > > Required or NotSupported. I am not sure to understand the difference > > between the two since, in both cases, it seems that according > > > > to the EJB specification, the reading of incoming messages > > will be done within a transaction created by the container. In the > > case of Jboss, it seems that if NotSupported is used, the messages > > > > are read in a transaction but not in a global XA one (no > > messages can be sent as part of a global XA transaction from within > > the onMessage method). Can I expect that this behavior will be the > > same > > > > on all app servers? > > > > NotSupported means you isolate work done inside onMessage from the > transaction used to deliver the message. If you do work in onMessage() > or something it invokes, it won't be committed consistently with the > original message delivery. (This might be what you want?) > > > - The connection factory of the input destination must be an > > XA connection factory. This is not clearly stated by the spec, so I > > guess it is up to each app server. In the case of Jboss, I can use > the > > > > false in the jboss.xml to > > specify that it is not. In this case, the JBoss container will do a > > "regular" commit on the JMS session. A global transaction is still > > created > > > > and JMS messages can be sent from within onMessage in this > > global transaction. When onMessage returns the global transaction is > > committed and then the input message session is committed. > > If you don't use an XAConnection, there is no two phase commit. The > flag was part of 3.0.x. In 3.2.x the type of > connection is detected automatically based on the interface > implemented by the connectionfactory. > > > > > - According to EJB spec, any JMS session open within a > global > > transaction (open within a container managed transaction MDB) will > be > > enlisted in the global
[JBoss-user] Re: twiddle
Hm. with jdk1.4.3 on Win2K I get on 3.2.3: D:\Tools\jboss-3.2\bin>twiddle serverinfo -l twiddle: org.jboss.util.NestedRuntimeException: - nested throwable: (javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no security manager: RMI class loader disabled)]) What am I doing wrong? Thanks, Heiko
Re: [JBoss-user] jboss 3.2.3 + jetty X
There has not been an annoucement that we will not provide a jetty bundle. There has not been a seperate bundle due to the fact that the initial testing indicated new unit test failures that I did not have time to look into. We are simply taking the latest stable sar release from the jetty sourceforge sar found here: http://sourceforge.net/project/showfiles.php?group_id=7322 I'll try to get back to looking at providing a bundle toward the end of this week, until then your free to build your own. Scott Stark Chief Technology Officer JBoss Group, LLC Mark Lassau wrote: Has JBoss actually made an announcement of whether they will be releasing Jetty bundles from now on? Either I have missed something, or we are seeing a lapse in "Professional Open Source". There are definitely a lot of users who want to continue to use Jetty/JBoss for a number of valid reasons (eg being able to server static web content as well as HTTPS on Windows platforms, keeping pure-Java platform neutral solution, known Tomcat bugs, or those of us who have already invested a lot of time developing and testing for JBoss/Jetty etc.). I realise we can all go and build our own by removing tomcat SAR, and dropping in Jetty SAR, but this will lead to version fragmentation. It is much better for the whole JBoss community if they know everyone on (eg) JBoss/Jetty 3.2.3 is using the exact same setup. --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss 3.2.3 + jetty X
Rod, all versions of JBoss are available integrated with Jetty, simply check on sf.net: http://sourceforge.net/project/showfiles.php?group_id=22866 As for the problems you have with Tomcat, you are invited to mention them so they can be fixed. Unknown bugs are called features. BTW, the Tomcat 5 integration is now available as well. Cheers, Sacha > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Mark Lassau > Sent: lundi, 22. décembre 2003 02:55 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] jboss 3.2.3 + jetty X > > Has JBoss actually made an announcement of whether they will be > releasing Jetty bundles from now on? > Either I have missed something, or we are seeing a lapse in > "Professional Open Source". > > There are definitely a lot of users who want to continue to use > Jetty/JBoss for a number of valid reasons > (eg being able to server static web content as well as HTTPS > on Windows > platforms, keeping pure-Java platform neutral solution, known > Tomcat bugs, > or those of us who have already invested a lot of time developing and > testing for JBoss/Jetty etc.). > I realise we can all go and build our own by removing tomcat SAR, and > dropping in Jetty SAR, but this will lead to version fragmentation. > It is much better for the whole JBoss community if they know > everyone on > (eg) JBoss/Jetty 3.2.3 is using the exact same setup. > > Rod Macpherson wrote: > > >BCS poll shows Jetty winning however of the 18 million daily > downloads > >of JBoss that majority now use Tomcat. > > > >We resisted moving to Tomcat because our stuff would break > horribly on > >it. When the powers that be started steering the herd toward > tomcat we > >decided to put the cart before the horse and jump on the bandwagon > >before the fat lady sung. The problem turned out to be > non-compliant JSP > >tags that were exposed when we moved to Tomcat. After those > were fixed > >up we had no further issues to speak of. > > > >-Original Message- > >From: Mike Moulton [mailto:[EMAIL PROTECTED] > >Sent: Thursday, December 18, 2003 8:38 AM > >To: [EMAIL PROTECTED] > >Subject: Re: [JBoss-user] jboss 3.2.3 + jetty X > > > > > >I would also like to see regular Jetty releases, despite the > fact that > >it is no longer the container of choice. However I am not holding my > >breath, as previous post seem to indicate that politics come before > >innovation. > > > >.. > >Mike Moulton > >[EMAIL PROTECTED] > > > > > > > > > --- > 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Stability/Performance test with JBoss3.2.2/Oracle 9.2.0.4 Problem s
Go read the Locking section in the JBoss Admin guide for entity locks. It sounds like you are doing straight JDBC and not cleaning up your statements and/or result sets. If you are using JDBC within a JTA transaction (EJB delineated), you can have JBOss automatically close leaked statements and/or connections: true for closing leaked JDBC statements when a connection is returned to the pool. Bill Sasidharan, Manoj wrote: Hello All, We are facing some problems while running our stress test on JBoss 3.2.2: 1. Out of Memory error 2. System ran out of open cursors (tests run fine in Weblogic when the number of cursors is 500. Even increasing to 1000 does not address the issue. 3. Deadlocks (Entity Beans) Any suggestions. Will send the details and stack traces soon. Any initial pointers on Oracle datasource configuration settings that could cause these? Thanks in advance for your time. Best Regards MS --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] CMR fields and sorting?
Seems like the order is no important until you actually look at the item, no? So if you have a collection of alive and dead cats you could provide a finder with an ORDER BY to sort them accordingly. Could also specify a sortable concrete type in the DD versus Collection and use ArrayList or Collection to sort them using the natural order or your own comparator. -Original Message- From: Poppe, Troy [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 1:03 PM To: Jboss User (E-mail) Subject: [JBoss-user] CMR fields and sorting? I am using XDoclet to generate EJBs that have some CMR fields. I'm using the XDoclet VO's as well. I'm curious if anyone knows of a way to sort the CMR field given some Comparator class. Not sure if there is a way to do this with JBoss during the construction of the EJB object, or with XDoclet, or in the XDoclet produced code. Thanks. Troy --- 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EntityInstanceCache - remove(String id): How do I derive the id ?
So I would need a seperate property editor for each Entity Bean ? Ouch. I thought there was some magic going on that I could not figure out. In this case, I do not have the object. Simply the DB table and the values of the PK columns. Thanks. //Nicholas --- Adrian Brock <[EMAIL PROTECTED]> wrote: > On Mon, 2004-01-05 at 22:46, Adrian Brock wrote: > > You have it the wrong way around. > > You need a javabean property editor that can > create your > > primary key object from the string. > > > > If you have the Object why can't you just use > > remove(Object id); > > > > Regards, > > Adrian > > > > On Mon, 2004-01-05 at 22:40, Nicholas wrote: > > > In the EntityInstanceCache.remove(String > method), how > > > do I derive the ID String from the primary key > object > > > that I want to remove from the cache ? > > > > > > Thanks. > > > > > > //Nicholas > > > > > > = > > > Nicholas Whitehead > > > Home: (973) 377 9335 > > > Cell: (201) 615 2716 > > > [EMAIL PROTECTED] > > > Get Your News From The Crowbar: > http://crowbar.dnsalias.com:443/crowbar/ > > > > > > > > > > --- > > > 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=1278&alloc_id=3371&op=click > > > ___ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > -- > > Adrian Brock > Director of Support > Back Office > JBoss Group, LLC > > > > > --- > 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=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user = Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 [EMAIL PROTECTED] Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/ --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EntityInstanceCache - remove(String id): How do I derive the id ?
On Mon, 2004-01-05 at 22:46, Adrian Brock wrote: > You have it the wrong way around. > You need a javabean property editor that can create your > primary key object from the string. > > If you have the Object why can't you just use > remove(Object id); > > Regards, > Adrian > > On Mon, 2004-01-05 at 22:40, Nicholas wrote: > > In the EntityInstanceCache.remove(String method), how > > do I derive the ID String from the primary key object > > that I want to remove from the cache ? > > > > Thanks. > > > > //Nicholas > > > > = > > Nicholas Whitehead > > Home: (973) 377 9335 > > Cell: (201) 615 2716 > > [EMAIL PROTECTED] > > Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/ > > > > > > --- > > 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=1278&alloc_id=3371&op=click > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] EntityInstanceCache - remove(String id): How do I derive the id ?
In the EntityInstanceCache.remove(String method), how do I derive the ID String from the primary key object that I want to remove from the cache ? Thanks. //Nicholas = Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 [EMAIL PROTECTED] Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/ --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Stability/Performance test with JBoss3.2.2/Oracle 9.2.0.4 Problem s
Hello All, We are facing some problems while running our stress test on JBoss 3.2.2: 1. Out of Memory error 2. System ran out of open cursors (tests run fine in Weblogic when the number of cursors is 500. Even increasing to 1000 does not address the issue. 3. Deadlocks (Entity Beans) Any suggestions. Will send the details and stack traces soon. Any initial pointers on Oracle datasource configuration settings that could cause these? Thanks in advance for your time. Best Regards MS --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: *OT* [JBoss-user] performance on Solaris/SPARC
My post was about performance comparison of the same OS on different hardware platforms (Solaris X86 on Compaq and Solaris SPARC on V100). Solaris stability (not to be confused with the availability) is equal on both platforms, availability of course is better with midrange (or better) on SPARC, however availability of V100 and Compaq might be very similar. PS: Sorry about off topic reply but this information might be of interest to some of you. p. Original Message Follows From: "Clover, James" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] performance on Solaris/SPARC Date: Mon, 5 Jan 2004 09:57:24 -0800 Yeah, I've seen this too. But under load, I've seen the Solaris to be more stable. James -Original Message- From: Peter Ondruska [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 5:03 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] performance on Solaris/SPARC Intel Pentium 4 based server may outperform SPARC processor based server in some (or most) uniprocessor configurations. Original Message Follows From: "Madere, Colin" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: [JBoss-user] performance on Solaris/SPARC Date: Fri, 2 Jan 2004 18:41:57 -0600 Sanity check. Would it surprise anyone out there that knows a thing a two about JBoss (or J2EE in general) that a bottom of the line hardware Compaq with a 2GHz P4 in it would perform 3-4 times faster in a simple CMP/EJB test than a Sun v100? P4 -- Win2K 2GHz 512MB RAM IDE v100 Sol9 400MHz? 1-2GB RAM SCSI Just starting up JBoss in default or all config also shows it takes 3-4 times to start up on the v100 as under the P4. _ Have fun customizing MSN Messenger learn how here! http://www.msnmessenger-download.com/tracking/reach_customize --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] performance on Solaris/SPARC
I mean on SPARC, but I think "application stability" is a factor of Solaris vs. Windows, not of the processor. -Original Message- From: Sacha Labourey [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 10:00 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] performance on Solaris/SPARC You mean Solaris on Sparc vs. Solaris on Intel? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Clover, James > Sent: Monday, January 05, 2004 6:57 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] performance on Solaris/SPARC > > Yeah, I've seen this too. But under load, I've seen the Solaris to be > more stable. > > James > > -Original Message- > From: Peter Ondruska [mailto:[EMAIL PROTECTED] > Sent: Friday, January 02, 2004 5:03 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] performance on Solaris/SPARC > > > Intel Pentium 4 based server may outperform SPARC processor > based server > in > some (or most) uniprocessor configurations. > > > Original Message Follows > From: "Madere, Colin" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]> > Subject: [JBoss-user] performance on Solaris/SPARC > Date: Fri, 2 Jan 2004 18:41:57 -0600 > > Sanity check. > > Would it surprise anyone out there that knows a thing a two > about JBoss > (or J2EE in general) that a bottom of the line hardware Compaq with a > 2GHz P4 in it would perform 3-4 times faster in a simple CMP/EJB test > than a Sun v100? > > P4 > -- > Win2K > 2GHz > 512MB RAM > IDE > > v100 > > Sol9 > 400MHz? > 1-2GB RAM > SCSI > > Just starting up JBoss in default or all config also shows it > takes 3-4 > times to start up on the v100 as under the P4. > > > --- > 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=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _ > Chatujte bezpecne s lidmi, ktere si umistite na seznam svych pratel - > stahujte MSN Messenger 6.1! http://www.msn.cz/procmessenger > > > > --- > 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=ick > ___ > 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_id78&alloc_id371&op=ick ___ 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] performance on Solaris/SPARC
You mean Solaris on Sparc vs. Solaris on Intel? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Clover, James > Sent: Monday, January 05, 2004 6:57 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] performance on Solaris/SPARC > > Yeah, I've seen this too. But under load, I've seen the Solaris to be > more stable. > > James > > -Original Message- > From: Peter Ondruska [mailto:[EMAIL PROTECTED] > Sent: Friday, January 02, 2004 5:03 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] performance on Solaris/SPARC > > > Intel Pentium 4 based server may outperform SPARC processor > based server > in > some (or most) uniprocessor configurations. > > > Original Message Follows > From: "Madere, Colin" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]> > Subject: [JBoss-user] performance on Solaris/SPARC > Date: Fri, 2 Jan 2004 18:41:57 -0600 > > Sanity check. > > Would it surprise anyone out there that knows a thing a two > about JBoss > (or J2EE in general) that a bottom of the line hardware Compaq with a > 2GHz P4 in it would perform 3-4 times faster in a simple CMP/EJB test > than a Sun v100? > > P4 > -- > Win2K > 2GHz > 512MB RAM > IDE > > v100 > > Sol9 > 400MHz? > 1-2GB RAM > SCSI > > Just starting up JBoss in default or all config also shows it > takes 3-4 > times to start up on the v100 as under the P4. > > > --- > 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=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _ > Chatujte bezpecne s lidmi, ktere si umistite na seznam svych pratel - > stahujte MSN Messenger 6.1! http://www.msn.cz/procmessenger > > > > --- > 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=ick > ___ > 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] performance on Solaris/SPARC
Yeah, I've seen this too. But under load, I've seen the Solaris to be more stable. James -Original Message- From: Peter Ondruska [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 5:03 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] performance on Solaris/SPARC Intel Pentium 4 based server may outperform SPARC processor based server in some (or most) uniprocessor configurations. Original Message Follows From: "Madere, Colin" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: [JBoss-user] performance on Solaris/SPARC Date: Fri, 2 Jan 2004 18:41:57 -0600 Sanity check. Would it surprise anyone out there that knows a thing a two about JBoss (or J2EE in general) that a bottom of the line hardware Compaq with a 2GHz P4 in it would perform 3-4 times faster in a simple CMP/EJB test than a Sun v100? P4 -- Win2K 2GHz 512MB RAM IDE v100 Sol9 400MHz? 1-2GB RAM SCSI Just starting up JBoss in default or all config also shows it takes 3-4 times to start up on the v100 as under the P4. --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Chatujte bezpecne s lidmi, ktere si umistite na seznam svych pratel - stahujte MSN Messenger 6.1! http://www.msn.cz/procmessenger --- 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion requested
shubhu mutta wrote: 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 ? Don't know if this is a bug, but the problem was recently solved in Branch_3_2 (3.2.4RC1) by changing the Oracle9i typemapping for java.lang.Short from NUMERIC/NUMBER(5) to SMALLINT/NUMBER(5). Thanks to Adrian Brock. With this change the problem went away for me and all works like before. Regards Frank --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Prob lem
Hi, Hadn't gotten a response, so I thought I would try again... Really looking to get this type of 1:1 relationship pinned down, as it would complete a bunch of the schema stuff of the app... Thanks! Matt Hanson -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 7:17 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Prob lem Is id (from ) a field belonging to B or A? Is the a_fk (from ) column from B or A? What if the columns and fields from B bean are totally different from A (i.e., B.weird_column_name with B.getWeirdColumnName() maps to A.a_primary_key and a.getMyKey())? What would the resulting jbosscmp-jdbc.xml look like? I think I have been able to set up the type of relationship you mention below. However, it only seems to work if the primary key from B is found in A with the same column name for both tables. This isn't exactly what I am hoping to do. In my case, the primary key from B is simply not relevent to A, and B contains a non-primary-key field linking it to A. Does this now make sense? -Original Message- From: Alexey Loubyansky [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 1:56 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Problem Here is an example for 1:1 unidirectional relationship from B to A: In B: /** * @ejb.relation *name="A-B" *role-name="B-has-A" *target-ejb="A" *target-role-name="A-belongsto-B" *target-multiple="false" * @jboss.relation *related-pk-field="id" *fk-column="a_fk" * @ejb.interface-method */ public abstract ALocal getA(); /** * @ejb.interface-method */ public abstract void setA(ALocal value); Resulting DDs: ejb-jar.xml: A-B B-has-A One B a A-belongsto-B One A jbosscmp-jdbc.xml: A-B B-has-A A-belongsto-B id a_fk --- 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=1278&alloc_id=3371&op=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=1278&alloc_id=3371&op=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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2.x and Virtual Hosting: Tomcat Broken, Jetty Works
Stefan Arentz wrote: On Dec 31, 2003, at 4:02 PM, Remy Maucherat wrote: You don't really know what you're talking about, which is a common trait of whiners. I am ignoring you here. Vhosting is a feature of the Jboss integration with the servlet container, definitely not something standard. With Tomcat, you currently need to add a Host element in the jboss-service.xml for all your vhosts, similar to Tomcat standalone. For TC 5, it's in server.xml. IMO it should be enough to simply change jboss-web.xml to configure this extension. Jetty can do it, so why not Tomcat. In an environment where you deploy multiple apps you don't want to edit your servlet container specific config files every time. I think that completely defeats the easy of deployment that you could have. I'm not a big fan of automatically creating hosts overall. I am, so that is why I am using Jetty. Less configuration. Less problems. S. Sorry to side with Stefan, but it is a good feature. Playboy.com would probably appreciate it too as they do a lot with virtual hosting and had a bunch of problems trying to figure out how to do it. Bill --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2.x and Virtual Hosting: Tomcat Broken, Jetty Works
On Dec 31, 2003, at 4:02 PM, Remy Maucherat wrote: You don't really know what you're talking about, which is a common trait of whiners. I am ignoring you here. Vhosting is a feature of the Jboss integration with the servlet container, definitely not something standard. With Tomcat, you currently need to add a Host element in the jboss-service.xml for all your vhosts, similar to Tomcat standalone. For TC 5, it's in server.xml. IMO it should be enough to simply change jboss-web.xml to configure this extension. Jetty can do it, so why not Tomcat. In an environment where you deploy multiple apps you don't want to edit your servlet container specific config files every time. I think that completely defeats the easy of deployment that you could have. I'm not a big fan of automatically creating hosts overall. I am, so that is why I am using Jetty. Less configuration. Less problems. S. --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14
Please, send me the stacktrace of the Tomcat release, I will take a look. Cheers, sacha > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Nishant Aggarwal > Sent: mardi, 6. janvier 2004 02:46 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup > in JBoss3.2.3RC1_Jetty_4.2.14 > > Hi Sacha, > Thanks for the response! > Actually I tried with Tomcat version also as available on web > ,jboss3.2.3.tgz, as told by you ,but the error/exception > still persists! > Any clues? > > Nishant. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sacha > Labourey > Sent: Monday, January 05, 2004 12:58 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > JBoss3.2.3RC1_Jetty_4.2.14 > > > Can you try with the tomcat version? > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Nishant Aggarwal > > Sent: lundi, 5. janvier 2004 19:41 > > To: [EMAIL PROTECTED] > > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup > > in JBoss3.2.3RC1_Jetty_4.2.14 > > > > Any updates? > > > > Nishant. > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Nishant > > Aggarwal > > Sent: Wednesday, December 31, 2003 3:08 PM > > To: [EMAIL PROTECTED] Sourceforge. Net > > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > > > Hi Sacha, > > Thanks for the response! > > No,its the same "jboss-3.2.3RC1-jetty4.2.11.gz" distribution > > file downloaded > > as such from sourceforge site!! Not a single file change! > > Also I am using > > "RC1" of jboss3.2.3 and not "RC3" as you have mentioned. > > Anyhow,if you think its an old one,can you please send me the new > > "cluster-service.xml" which won't give this problem. > > I am attaching the "cluster-service.xml" which I got from the > > distribution. > > > > Thanks in advance, > > Nishant. > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Sacha > > Labourey > > Sent: Wednesday, December 31, 2003 12:56 AM > > To: [EMAIL PROTECTED] > > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > > > Are you using your own (old) cluster-service.xml partition > > definition? I > > think 3.2.3RC3 already uses the new package names i.e. > > org.jgroups instead > > of org.javagroups. > > > > sacha > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > Nishant Aggarwal > > > Sent: mercredi, 31. décembre 2003 22:06 > > > To: [EMAIL PROTECTED] > > > Subject: [JBoss-user] Exception in JBoss Cluster startup in > > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > > > Hi All, > > > I have just started running JBoss3.2.3Rc1_Jetty4.2.14 in > > > "all"/clustering > > > mode. > > > I had enabled "debug" options in "log4j.xml" for the > above release. > > > On running it ,I found the following exception,when starting > > > the deployment > > > of "cluster-service.xml",during JBoss startup. > > > --- > > > GMS: address is bplinux58:42181 (additional data: 18 bytes) > > > --- > > > 2003-12-31 00:48:55,186 DEBUG > > > [org.javagroups.DefaultPartition] [Wed Dec 31 > > > 00:48:55 IST 2003] [ERROR] UDP.handleIncomingUdpPacket(): > > > exception=java.io.IOException: > java.lang.ClassNotFoundException: No > > > ClassLoaders found for: org.javagroups.protocols.PingRsp > > > at org.jgroups.util.Marshaller.read(Marshaller.java:85) > > > at org.jgroups.Message.readExternal(Message.java:352) > > > at > > > org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:527) > > > at > > org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1119) > > > at java.lang.Thread.run(Thread.java:536) > > > --- > > > > > > Kindly help me sort out this problem as its hampering our > > > development!! > > > I am also attaching the "Server.log" for this problem. > > > > > > Thanks in advance, > > > Nishant. > > > > > > > > > > > --- > > 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_id78&alloc_id371&op=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
RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14
Hi Sacha, Thanks for the response! Actually I tried with Tomcat version also as available on web ,jboss3.2.3.tgz, as told by you ,but the error/exception still persists! Any clues? Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sacha Labourey Sent: Monday, January 05, 2004 12:58 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14 Can you try with the tomcat version? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Nishant Aggarwal > Sent: lundi, 5. janvier 2004 19:41 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup > in JBoss3.2.3RC1_Jetty_4.2.14 > > Any updates? > > Nishant. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Nishant > Aggarwal > Sent: Wednesday, December 31, 2003 3:08 PM > To: [EMAIL PROTECTED] Sourceforge. Net > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > JBoss3.2.3RC1_Jetty_4.2.14 > > > Hi Sacha, > Thanks for the response! > No,its the same "jboss-3.2.3RC1-jetty4.2.11.gz" distribution > file downloaded > as such from sourceforge site!! Not a single file change! > Also I am using > "RC1" of jboss3.2.3 and not "RC3" as you have mentioned. > Anyhow,if you think its an old one,can you please send me the new > "cluster-service.xml" which won't give this problem. > I am attaching the "cluster-service.xml" which I got from the > distribution. > > Thanks in advance, > Nishant. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sacha > Labourey > Sent: Wednesday, December 31, 2003 12:56 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > JBoss3.2.3RC1_Jetty_4.2.14 > > > Are you using your own (old) cluster-service.xml partition > definition? I > think 3.2.3RC3 already uses the new package names i.e. > org.jgroups instead > of org.javagroups. > > sacha > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Nishant Aggarwal > > Sent: mercredi, 31. décembre 2003 22:06 > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Exception in JBoss Cluster startup in > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > Hi All, > > I have just started running JBoss3.2.3Rc1_Jetty4.2.14 in > > "all"/clustering > > mode. > > I had enabled "debug" options in "log4j.xml" for the above release. > > On running it ,I found the following exception,when starting > > the deployment > > of "cluster-service.xml",during JBoss startup. > > --- > > GMS: address is bplinux58:42181 (additional data: 18 bytes) > > --- > > 2003-12-31 00:48:55,186 DEBUG > > [org.javagroups.DefaultPartition] [Wed Dec 31 > > 00:48:55 IST 2003] [ERROR] UDP.handleIncomingUdpPacket(): > > exception=java.io.IOException: java.lang.ClassNotFoundException: No > > ClassLoaders found for: org.javagroups.protocols.PingRsp > > at org.jgroups.util.Marshaller.read(Marshaller.java:85) > > at org.jgroups.Message.readExternal(Message.java:352) > > at > > org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:527) > > at > org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1119) > > at java.lang.Thread.run(Thread.java:536) > > --- > > > > Kindly help me sort out this problem as its hampering our > > development!! > > I am also attaching the "Server.log" for this problem. > > > > Thanks in advance, > > Nishant. > > > > > > --- > 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_id78&alloc_id371&op=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_id78&alloc_id371&op=ick > ___ > 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_id78&alloc_id371&op=click __
RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14
Can you try with the tomcat version? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Nishant Aggarwal > Sent: lundi, 5. janvier 2004 19:41 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup > in JBoss3.2.3RC1_Jetty_4.2.14 > > Any updates? > > Nishant. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Nishant > Aggarwal > Sent: Wednesday, December 31, 2003 3:08 PM > To: [EMAIL PROTECTED] Sourceforge. Net > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > JBoss3.2.3RC1_Jetty_4.2.14 > > > Hi Sacha, > Thanks for the response! > No,its the same "jboss-3.2.3RC1-jetty4.2.11.gz" distribution > file downloaded > as such from sourceforge site!! Not a single file change! > Also I am using > "RC1" of jboss3.2.3 and not "RC3" as you have mentioned. > Anyhow,if you think its an old one,can you please send me the new > "cluster-service.xml" which won't give this problem. > I am attaching the "cluster-service.xml" which I got from the > distribution. > > Thanks in advance, > Nishant. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sacha > Labourey > Sent: Wednesday, December 31, 2003 12:56 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in > JBoss3.2.3RC1_Jetty_4.2.14 > > > Are you using your own (old) cluster-service.xml partition > definition? I > think 3.2.3RC3 already uses the new package names i.e. > org.jgroups instead > of org.javagroups. > > sacha > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Nishant Aggarwal > > Sent: mercredi, 31. décembre 2003 22:06 > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Exception in JBoss Cluster startup in > > JBoss3.2.3RC1_Jetty_4.2.14 > > > > Hi All, > > I have just started running JBoss3.2.3Rc1_Jetty4.2.14 in > > "all"/clustering > > mode. > > I had enabled "debug" options in "log4j.xml" for the above release. > > On running it ,I found the following exception,when starting > > the deployment > > of "cluster-service.xml",during JBoss startup. > > --- > > GMS: address is bplinux58:42181 (additional data: 18 bytes) > > --- > > 2003-12-31 00:48:55,186 DEBUG > > [org.javagroups.DefaultPartition] [Wed Dec 31 > > 00:48:55 IST 2003] [ERROR] UDP.handleIncomingUdpPacket(): > > exception=java.io.IOException: java.lang.ClassNotFoundException: No > > ClassLoaders found for: org.javagroups.protocols.PingRsp > > at org.jgroups.util.Marshaller.read(Marshaller.java:85) > > at org.jgroups.Message.readExternal(Message.java:352) > > at > > org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:527) > > at > org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1119) > > at java.lang.Thread.run(Thread.java:536) > > --- > > > > Kindly help me sort out this problem as its hampering our > > development!! > > I am also attaching the "Server.log" for this problem. > > > > Thanks in advance, > > Nishant. > > > > > > --- > 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_id78&alloc_id371&op=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_id78&alloc_id371&op=ick > ___ > 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_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion requested
Hi, there is a bug report open on this (#729719) https://sourceforge.net/tracker/?func=detail&atid=376687&aid=729719&group_id=22866 Can you confirm/verify the solution from there? Heiko -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] im Auftrag von shubhu 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 OracleDS jdbc:oracle:oci8:@bplin32 oracle.jdbc.driver.OracleDriver xxx xxx 1 5 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Regards, Shub
RE: [JBoss-user] tomcat : error in local blocks deployment
Hi Scott, java -version output is : Under Solaris 7 : java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) Under Windows NT : java version "1.3.1_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_09-b03) Java HotSpot(TM) Client VM (build 1.3.1_09-b03, mixed mode) I also added the catalina.jar file under the JBOSS_CLASSPATH environment variable. Tomcat now finds the LocalStrings property file but complains about org.apache.catalina.startup.ContextRuleSet which IS inside the same catalina.jar ... Thanks, ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- 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=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[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 OracleDS jdbc:oracle:oci8:@bplin32 oracle.jdbc.driver.OracleDriver xxx xxx 1 5 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Regards, Shubhu Do you Yahoo!? Free Pop-Up Blocker - Get it now