[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread [EMAIL PROTECTED]
Which server is 192.168.20.90 ? A or B ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3908984#3908984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3908984 --- This

[JBoss-user] [JBossWS] - HA of jboss style web service

2005-11-25 Thread upankar
Hi.. I have a webservice deployed in Jboss 4.0.2 and implememented with service end point. Service is packaged as ear. is there a way to make it highly available - clustering , HASigleton etc ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3908985#3908985

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread Skipy
[EMAIL PROTECTED] wrote : Which server is 192.168.20.90 ? A or B ? 192.168.20.90 is A server. This server is killed and error appears on B server (192.168.20.91) Regards, Eugene View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3908986#3908986 Reply to the post

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread [EMAIL PROTECTED]
This could be caused by http://jira.jboss.com/jira/browse/JBCACHE-10. Are you using - synchronous replication and - transactions ? When you kill a coordinator after the PREPARE and before the COMMIT or ROLLBACK phase, this would be possible View the original post :

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread Skipy
Yes, we use synchronous replication and transactions (JOTM). Killed server was not a coordinator according to logs, but the problem is exactly the same as what you describe. So, if I understand correctly, this situation will be fixed in 1.3, when locks manipulating API will be removed. Before

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread Skipy
BTW, when 1.3 version will be released approximately? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3908990#3908990 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3908990

[JBoss-user] [JBoss Getting Started Documentation] - Re: Where is org.jboss.util.ChapterExRepository [JBoss Admin

2005-11-25 Thread juhmikk
Hello Sir! Could you help me a little. I hava same problem as another persons with JBossMQ examples. I have build jms examples, but I can't find classes org.jboss.util.Debug and org.jboss.util.ChapterExRepository. I'm using JBoss-4.0.3SP1 and I have opened all jar files, but I can't find those

[JBoss-user] [Messaging, JMS JBossMQ] - Re: whne DLQ is full

2005-11-25 Thread Rudi Vankeirsbilck
Hmmm, I am guessing there is a setting that you could change to increase the size of the DLQ but have not found it yet. On the other hand, the DLQ is just another queue that you can subscribe to. I have created an MDB that picks up new messages that go to the DLQ and transfers them to a DB. A

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread [EMAIL PROTECTED]
By 'coordinator' I *didn't* mean the JGroups coordinator, but the coordinator of the 2-phase-commit protocol, so the member on which a TX.commit() was called. 1.3. will be released in Feb/March 2006. In the meantime you have to call TreeCache.releaseAllLocks(String fqn). View the original post

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread Skipy
[EMAIL PROTECTED] wrote : By 'coordinator' I *didn't* mean the JGroups coordinator, but the coordinator of the 2-phase-commit protocol, so the member on which a TX.commit() was called. | 1.3. will be released in Feb/March 2006. | In the meantime you have to call

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread [EMAIL PROTECTED]
No, releaseLocks() will release *all* locks ! I upgraded that JIRA issue from minor to critical. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909004#3909004 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909004

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread Skipy
[EMAIL PROTECTED] wrote : No, releaseLocks() will release *all* locks ! | I upgraded that JIRA issue from minor to critical. That's what I was affraid of. Ok, I'll use deprecated API to get locks and to understand what locks should I remove. Anyway, thank you! Regards, Eugene View the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Jboss can't connect after DB has restarted

2005-11-25 Thread mroosendaal
Hi, During a failover test we saw that JBoss can't handle a restart of the DB correctly. We expected that JBoss would have some mechanisme to check to DS first and then throw an Exception. So when the DB is restarted after a few minutes, JBoss can reconnect to it. Is there something in JBoss

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - newbie q- problem inserting a column with name key

2005-11-25 Thread henderson_mk
Hi folks, I'm using seam / hibernate and have an object that has a member variable 'key' with mutators. When I create a new one of these and try to persist it I'm getting an error thrown about invalid sql... and its because mysql has key as a reserved word. How can I get round this? Thanks in

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Entity Bean: Problem with Composed Primary Key

2005-11-25 Thread krill
Hi!, I'm developing an entity bean which must has a composed primary key (two fields, one is a string and one is a date) If one of both has the same value for two entities, server responds me with an Exception: NoSuchEntityException (Entity not found) Any idea? Thanks View the original post :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss can't connect after DB has restarted

2005-11-25 Thread jukvaa
Yes, you'll need to put some inexpensive select to check valid connection. Somehting like this will do it for PostgreSQL: check-valid-connection-sqlselect 1/check-valid-connection-sql View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909032#3909032 Reply to the

[JBoss-user] [Security JAAS/JBoss] - Re: Apache authentication with JBoss authorisation

2005-11-25 Thread jimbrady
I have confirmed this is still an issue - but it seems to me the correct place to fix it is in org.jboss.web.tomcat.security.SecurityAssociationValve or org.jboss.web.tomcat.security.JBossSecurityManagerRealm. The Valve assumes that if a UserPrincipal is set it will be JBossGeneralPrincipal.

[JBoss-user] [JBoss Portal] - Upgrading JBossCache to 1.2.4 in JBP2.0 won't work

2005-11-25 Thread alesj
When using JBossCache 1.2.4 in JBossPortal 2.0.0 FINAL it fails to initialize TreeImpl. Since when creating TreeImpl you create TreeCache which creates CacheLoader (CMSCacheLoader) which looks for CMS, which is created but not started - so no singleton yet. This throws

[JBoss-user] [Javassist user questions] - Varargs Injection Unsupported ?

2005-11-25 Thread gedl
Hello, I'm trying to inject some code that invokes a class' constructor that has vargars. Javassist is giving me a CouldNotCompileException The problem is in the compareSignature method in MemberResolver.java, line 169 that checks if the parameters vector lenght is equals. Well being a varargs

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread Skipy
One more question. If I specify TransactionManagerLookup implementation for cache, but don't use transactions explicitely - will replications due to put calls be transactional? I.e., who will be the owner of lock on the other side - transaction or thread? Regards, Eugene View the original

[JBoss-user] [JBossWS] - Re: problem with XSD_DATE, Jboss is not able to transfer an

2005-11-25 Thread ArmanM
[EMAIL PROTECTED] wrote : What is an absolute date? Do you mean GMT? | | We support all standard jaxrpc date formats (e.g. xsd:date, xsd:dateTime, etc) What is an absolute date? - no, it was wrong. I want to send/receive the date without recivering by zone, For example : if I send the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss can't connect after DB has restarted

2005-11-25 Thread anders.hedstrom
http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJCA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909042#3909042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909042

[JBoss-user] [Javassist user questions] - JBoss/Tomcat error

2005-11-25 Thread brudvik
Hi - I get this strange error when running the sollution on tomcat, while if I run it on JBoss it works like a charm. Anyone got an idea? | error:org.apache.jasper.JasperException: Unable to compile class for JSP | An error occurred at line: 4 in the jsp file: /webshop_handlekurv.jsp |

[JBoss-user] [JBoss Portal] - CMS using MaxDB (or SapDB)

2005-11-25 Thread legolas
Hi I am trying to connect JBossPortal 2.0.1RC3 on JBossAS 4.0.3SP1 to a MaxDB database. When using JBP2.0 on JBAS 4.0.2, I configured the hibernate dialect in jboss-portal.sar/conf/hibernate/hibernate.cfg.xml, which worked. So I did the same thing for the earlier stated configuration, but now

[JBoss-user] [Clustering/JBoss] - Idempotency and other issues in JBoss 4.x

2005-11-25 Thread ehskaga
I am using the JBoss 4.1 version to test the clusteing my EJB components. I am pleasently surprised to see most of the things working out of the box(Infact at times i doubt whether i am seeing the right thing). My concern is whether JBoss supports the concept of idempotency. Currently, i have

[JBoss-user] [Javassist user questions] - Re: JBoss/Tomcat error

2005-11-25 Thread brudvik
I figured out the sollution on my own. It appears that the line: Enumeration enum = request.getParameterNames(); Is valid in JBoss while in Tomcat the particular word enum will throw an exception since it appears that they have reserved that word for their own usage (or something like it). Could

[JBoss-user] [JBossCache] - Re: Locks removal problem with JBossCache

2005-11-25 Thread [EMAIL PROTECTED]
Thread View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909052#3909052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909052 --- This SF.net email is sponsored by: Splunk

[JBoss-user] [Javassist user questions] - Re: JBoss/Tomcat error

2005-11-25 Thread gedl
brudvik wrote : I figured out the sollution on my own. It appears that the line: | | Enumeration enum = request.getParameterNames(); | | Is valid in JBoss while in Tomcat the particular word enum will throw | an exception since it appears that they have reserved that word for their

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate + JBoss + Transaction/Session scope

2005-11-25 Thread tads
Hi, But if I need to use CMT and into EJB I have DAOs methods that manage transactions and sessions? This DAOs methods are used in EJBs and Web Applications. What can I do for this case? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909057#3909057

[JBoss-user] [Installation, Configuration Deployment] - Deploy Performance under JBoss 4.0.3SP1

2005-11-25 Thread roberto
I have a big EAR application with WAR and EJB Jars (about 60MB with over 170 EJB jar file ). I deploy my ear as expanded one on windows xp sp2 , sun jdk 1.4.2_09 Using JBoss 3.2.7, server starts in 13 minutes... but using JBoss 4.0.3SP1 server starts in 21 minute 60% slower!!! In both

[JBoss-user] [JCA/JBoss] - jdbc with sequoia

2005-11-25 Thread oschei
I cannot connect in jboss with datasource sequoia. 1. copied the drive in server/default/lib 2. c-jdbc-ds.xml in server/default/deploy ?xml version=1.0 encoding=UTF-8? local-tx-datasource jndi-namerubbos/jndi-name connection-urljdbc:sequoia://ecw05/myDB/connection-url

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem with HQL query -- to return few columns of a Tab

2005-11-25 Thread peter.knuts
Use the fully qualified class name of the DTO you want to use. i.e. com.company.BasicModelDTO. // Peter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909064#3909064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909064

[JBoss-user] [Messaging, JMS JBossMQ] - Re: jboss messaging

2005-11-25 Thread cartola
Hi! I'm having the same problem. I'm deploying the jboss-messaging.sar on a JBoss 4.0.2, in default configuration. I'm trying the JBossMessaging-1.0.0alpha-pr2 version. Does anyone has a solution for this event? View the original post :

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Changed webservice context behavior in 4.0.3?

2005-11-25 Thread borje.jonsson
Thank yoy for the tip, but this only works for the first session bean. If i have several session beans with the first part of the uri the same in all beans, only the last bean is visible. Example: | | ejb-nameSecurityBean/ejb-name | port-component |

[JBoss-user] [Beginners Corner] - where to get the 'documentation-example.tar.gz ' file?

2005-11-25 Thread chaser
Hi, I am trying to find the file: documentation-example.tar.gz, one the site, but it seems to be gone already or moved to somewhere. Could anybody tell me where to find it. I did some search in google, still couldn't find it. Thanks in advance. X.Chen View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Deploy Performance under JBoss 4.0.3SP1

2005-11-25 Thread roberto
sorry... i wrote wrong info... JBoss 3.2.7 starts in 21 min Jboss 4.0.3Sp1 starts in about 24 min so slower about 10 - 12 % View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909071#3909071 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Problem on startup - run.sh: Missing file: /usr/jre1.5.0_05/

2005-11-25 Thread McCall
Hi Folks, I am new to JBoss, but I seem to have it running OK so far, however when I start JBoss using run.sh I get the following error: # sh run.sh run.sh: Missing file: /usr/jre1.5.0_05/lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE. I

[JBoss-user] [Installation, Configuration Deployment] - Re: Problem on startup - run.sh: Missing file: /usr/jre1.5.0

2005-11-25 Thread anders.hedstrom
Install the JDK5 and point your JAVA_HOME to that, just as the message tells you. Cheers //Anders View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909076#3909076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909076

[JBoss-user] [Installation, Configuration Deployment] - Re: Can i Install JBoss in XP?

2005-11-25 Thread jnbossy
Here I have explained, how you get the JBOSS plugin: http://www.jboss.com/index.html?module=bbop=viewtopict=72229 And the download link for the application server is here: http://sourceforge.net/project/showfiles.php?group_id=22866package_id=16942release_id=365509 regards jnbossy View the

[JBoss-user] [Beginners Corner] - java.lang.IllegalStateException: Failed to find method for h

2005-11-25 Thread jbossalexandre
Hi all, I deploy an ejb, and I am testing with a war file. I can get the home of the ejb but when calling create on it I get the following error. Note: I already search the forum, so I doubled check: I use for the client, jbossall-client.jar the one in the jboss server. Any help welcome,

[JBoss-user] [Installation, Configuration Deployment] - Re: Problem on startup - run.sh: Missing file: /usr/jre1.5.0

2005-11-25 Thread McCall
anders.hedstrom wrote : Install the JDK5 and point your JAVA_HOME to that, just as the message tells you. Ah yes :) Now I feel really stupid :) For some reason I thought I was using the JDK. I remember now - I started installing the JDK, but as my server is headless and I don't have an X

[JBoss-user] [EJB/JBoss] - Calling an EJB method each day

2005-11-25 Thread elgabo
Hi, Ive got a question and maybe some can help I need to call a EJB Buisness method each day, the method updates data on a data base. The method is inside a Session Bean. Do I have to program a client that calls the method each day or can I configure a timer inside the application server

[JBoss-user] [JBossWS] - Must include type attribute for handler deployment message

2005-11-25 Thread sthalkidis
Dear programmers, I think I have sucessfully deployed a simple HelloWorld service because by using the URL for the .wsdl file I can see it in a web browser. However, the client for this simple service does not work. I try to use Dynamic Invocation Interface and I always get the

[JBoss-user] [JBossWS] - Re: Must include type attribute for handler deployment mess

2005-11-25 Thread sthalkidis
Sorry, the code for the .wsdl and .wsdd files was not properly shown. I repeat all of the files here for convenience. Spyros Halkidis == HelloClient.java - | import webservice.test.hello.*; | |

[JBoss-user] [Installation, Configuration Deployment] - Re: How to refer Images outside JBOSS_HOME?

2005-11-25 Thread Renkrad
You must use a servlet to acess and write the image content to the client. My advice is for you to add the images to your war, unless those images are part of a client specific repository in that case the images are dinamic so a servlet is necessary. View the original post :

[JBoss-user] [Beginners Corner] - Re: Help with lookng up a bean

2005-11-25 Thread darranl
The PortableRemoteObject.narrow is only to be used for remote home interfaces. it should not be used for anything else. You have missed off important information such as JBoss version, stack traces and details of how your application is packaged. Can you execute the command 'jar -tf

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: NoInitialContext while running Client_41a of Workbook 2

2005-11-25 Thread cfairfax
Opapo, Did you ever figure this problem out? I am trying to run the same workbook exercise through the Eclipse IDE, and get the same error. Please let me know if you have a solution. I was able to run the application using Ant and the command prompt though. View the original post :

[JBoss-user] [EJB/JBoss] - Re: Calling an EJB method each day

2005-11-25 Thread darranl
Which JBoss version are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909099#3909099 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909099 --- This SF.net

[JBoss-user] [EJB/JBoss] - Re: Calling an EJB method each day

2005-11-25 Thread elgabo
sorry :) Im using 4.0.2 wiht EJB 2.0 spec View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909100#3909100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909100 --- This

[JBoss-user] [EJB/JBoss] - Re: Calling an EJB method each day

2005-11-25 Thread elgabo
exactly JBoss 4.0.2 RC1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909103#3909103 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909103 --- This SF.net email is

[JBoss-user] [JBossWS] - Re: Must include type attribute for handler deployment mess

2005-11-25 Thread sthalkidis
Forgot to mention that my aim is to use a stateless EJB as a web service. I also used the code from Wiki for DII and get the same problem. I guess that a parameter in the creation of the Service object is not correct but I can not find the correct values. Thanks in advance, Spyros Halkidis

[JBoss-user] [Beginners Corner] - Re: Help with lookng up a bean

2005-11-25 Thread simonnunn
Jboss version is 4.0.3. I see the bean being bound: 14:34:43,265 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'Stegiuser' to jndi 'stegi/StegiuserLocalHome' The following code always fails with a classcast exception in getLocalHome: public static

[JBoss-user] [Installation, Configuration Deployment] - Redirection problem (Apache-JBoss) ?

2005-11-25 Thread olegkon
Hi, We have powerful Solaris server which hosts 2 sets of Apache 2.0.48 - JBoss 3.07 with Tomcat 4.1.18 using mod_jk2 2.0.2, running a bunch of web applications. They are configured to run independently (2 server names, 2 virtual servers, different ports, etc.) Used to run without a single glitch

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Redirection problem (Apache-JBoss) ?

2005-11-25 Thread olegkon
Hi, We have powerful Solaris server which hosts 2 sets of Apache 2.0.48 - JBoss 3.07 with Tomcat 4.1.18 using mod_jk2 2.0.2, running a bunch of web applications. They are configured to run independently (2 server names, 2 virtual servers, different ports, etc.) Used to run without a single glitch

[JBoss-user] [Beginners Corner] - Re: Help with lookng up a bean

2005-11-25 Thread simonnunn
Problem solved. It was a classloader problem. I had the interfaces in the .war and the ejbs jar. Removed all interfaces from the war and it works now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909115#3909115 Reply to the post :

[JBoss-user] [JBossCache] - Re: How to use TreeCache inside JBoss

2005-11-25 Thread kongdy
Where is the unit test case under 4.0 testsuite? Is it in the jboss-4.0.0 zip that I downloaded? I don't see it in archive. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909128#3909128 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - how to send XML Message using JMS

2005-11-25 Thread rohit_mca2000
Hello friends, I need to know , how do we send XML Messages usins JMS message service. I found that we can send it using TextMessage but for this i will have to manually make a string out of my XML some what in this fashion. StringBuffer buffer = new StringBuffer(); |

[JBoss-user] [JBoss Portal] - Custom Layout Help

2005-11-25 Thread arvind_pv
Hi Everyone, I'm a newbie and exploring on JBoss Portal server and I'm successful in executing the helloworld example. I followed the reference document given in JBoss docs for creating a template. I want to create a template which is of the form given below 1) User has to login first and