[JBoss-user] [Installation, Configuration Deployment] - Problem configure JMS

2005-11-11 Thread andreab
I've installed Jboss4.0.2 on two servers and configured JMS with HA-JNDI and MySql as a shared Database for both servers. Examples of my configuration : server1 : Installazione di JBOSS4.0.2 - JMS - HA-JNDI e JNDI server2 : Installazione di JBOSS4.0.2 - JMS - HA-JNDI e JNDI Server3 :

[JBoss-user] [Security JAAS/JBoss] - Re: login call back

2005-11-11 Thread [EMAIL PROTECTED]
Put some object in session when request.getRemoteUser() != null and use HttpSessionBindingListener to collect information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906754#3906754 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Container Interceptor runs as Client Interceptor

2005-11-11 Thread sagi7
Hello, i have configured a Container-Interceptor in JBAS 4.0.2 with JBoss.xml and following configuration: container-configuration extends=Standard Stateless SessionBean container-nameTest Container/container-name container-interceptors

[JBoss-user] [JBoss Portal] - JBoss Portal copyright

2005-11-11 Thread giordano
Is there some copyright limitation in using nodesk layout for an official portal? I have in mind to use such a them only changing, for instance, the top logo. Many thanks and bye, Giordano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906756#3906756 Reply

[JBoss-user] [Clustering/JBoss] - Re: Clustered HASingleton How-To

2005-11-11 Thread [EMAIL PROTECTED]
I see that you have linked the wiki page to this post. Thanks! -Ben View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906757#3906757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906757

[JBoss-user] [Clustering/JBoss] - Re: Failed to start AutomaticDiscovery

2005-11-11 Thread [EMAIL PROTECTED]
You bind to 127.0.0.1, you won't be able to see other members on different machines, just on the same machine View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906759#3906759 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: I can't get Jboss to restart

2005-11-11 Thread efasel
Try a ps -ef | grep jboss | grep -v grep and see if it lists any running jboss instances. If there are some jboss processes and you're sure that these are your processes, you may kill them to be able to restart jboss. View the original post :

[JBoss-user] [Messaging, JMS JBossMQ] - JMS PM cannot delete message

2005-11-11 Thread ashields
Occasionally the JDBC2 Persistence Manager throws the exception: org.jboss.mq.SpyMessageException: Could not delete the message from the database: delete affected 0 rows I've enabled trace level logging for the persistence manager, I can see the trace messages bracketing the insert as the

[JBoss-user] [JBossWS] - Re: Serializer results in stack overflow

2005-11-11 Thread [EMAIL PROTECTED]
With SOAP encoding you can have an ID attribute with SOAP encoded elements and use HREF that references them. With literal encoding this is not allowed. Jason wrote anonymous wrote : | Literal bindings require the literal data be a 1 to 1 translation to valid schema (which has no native

[JBoss-user] [JBossCache] - remove put in the same transaction

2005-11-11 Thread rino_salvade
We're currently using JBossCache 1.2.3. When running the following test code we experienced that the last test case marked with THIS FAILS causes a problem. public void testSimpleRollbackTransactions() throws Exception { | TreeCache firstCache = new TreeCache(); |

[JBoss-user] [JBossWS] - Re: SoapMessage on JBoss 4.0.3

2005-11-11 Thread [EMAIL PROTECTED]
This has been assigned to http://jira.jboss.org/jira/browse/JBWS-488 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906767#3906767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906767

[JBoss-user] [JNDI/Naming/Network] - Finding EJB service from a remote machine

2005-11-11 Thread Yarrags
To access a EJB service remotely, JNDI lookup shall give the Home reference thru which we can ultimately access the requried business methods. I am more interested in the approach to be taken. If the client is a RMI client, then the above JNDI lokup works fine. But if the client is HTTP

[JBoss-user] [JBossWS] - Re: Custom parameter in wsdd

2005-11-11 Thread [EMAIL PROTECTED]
Java service endpoints are (currently) not pooled. In other words, there is a new endpoint impl object for every request. If you have costly operations that need to be performed (once) in create the create step you would need to use an EJB endpoint impl. i.e a SLSB View the original post :

[JBoss-user] [JBossWS] - Re: WS-Action Dispatching

2005-11-11 Thread [EMAIL PROTECTED]
What sections of the WS-Addressing, JSR-261 is this requirement refering to? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906770#3906770 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906770

[JBoss-user] [JBossWS] - Re: WebServices delays

2005-11-11 Thread [EMAIL PROTECTED]
This has been assigned to http://jira.jboss.org/jira/browse/JBWS-489 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906771#3906771 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906771

[JBoss-user] [JBossWS] - Re: object inheritance with their schema

2005-11-11 Thread [EMAIL PROTECTED]
If the subclasses from DataObject are not contained in the transitive closure of the service endpoint interface they would correctly so not appear in WSDL. In other words, if the SEI method parameter is a DataObject you would only expect to see the properties of DataObject on the wire even when

[JBoss-user] [Clustering/JBoss] - Clustered HTTP session problem

2005-11-11 Thread chris_katz
I've set up a 2 node cluster using JBoss 4.0.2. Apache2 with mod_jk is used as a load balancer with sticky sessions set to true. The clients of my application would be web browsers, Java and other(non-Java) clients -- some of them not supporting session cookies. I've set to false the cookies

[JBoss-user] [JBossWS] - Re: Using a Web App Session with SOAP requests

2005-11-11 Thread [EMAIL PROTECTED]
Web service endpoints are stateless. So you currently cannot reuse the same session. The ws clients will have to provide authentication information with every call. Caching in the SecurityManager applies. | Stub stub = (Stub)service.getPort(SEI.class); |

[JBoss-user] [Installation, Configuration Deployment] - Re: Problem configure JMS

2005-11-11 Thread [EMAIL PROTECTED]
You need use a HA-JMS configuration (i.e. one node running JMS server at any given point): http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQHA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906780#3906780 Reply to the post :

[JBoss-user] [Clustering/JBoss] - Re: Strange exception in HTTP-Session replication

2005-11-11 Thread pflapf
Yes, without problems, just need to start both nodes: 12:44:50,211 ERROR [IdentityLock] read lock for /JSESSION/localhost/ROOT/gcTJP89MyXji07wLwJgkGA** could not be acquired by Thread[TP-Process or2,5,jboss] after 15000 ms. Locks: Read lock owners: [] Write lock owner: 192.168.130.63:7850:2 ,

[JBoss-user] [Installation, Configuration Deployment] - Need help on the LinkageError

2005-11-11 Thread daviskv
We are getting following linkage error when deployed the application and tried to login. The login function calls a serlvet which uses Response class available in a jar file. This jar file is packaged in both EAR and WAR file as the jar file is referenced in both ejb and serlvets. But when we

[JBoss-user] [JBossCache] - Re: TreeCache instantiation

2005-11-11 Thread shaamcom_83
Hi Brian, But am using the Test cases bundled with jboss 4.0.2 and moreover am using jdk 1.4.2. Can u please clarify for these environment. Thanks and Regards, Shahul. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906797#3906797 Reply to the post :

[JBoss-user] [JBossCache] - Re: JBossCacheAOP synchronization of local variables

2005-11-11 Thread mikeg123
Hi, yes, AOP works fine for other stuff under 3.2.6 jboss-aop_1.1.2 JBossCache-1.2.4 but in my case I'm not defining anything in jboss-aop.xml for the caching stuff because I'm adding Map directly to the cache (see previous post) View the original post :

[JBoss-user] [JBossWS] - Re: Serializer results in stack overflow

2005-11-11 Thread BogSolomon
Thank you very much. I have solved the problem by creating a custom serializer that adds an ID to the object as an attribute and then when the same object is meant to be serialized again just creates it as null with two attributes specifying that it is a reference and the ID. Not really a

[JBoss-user] [Beginners Corner] - Re: I can't get Jboss to restart

2005-11-11 Thread apritz
On your Windows machine, you can also try installing and running a program called Active Ports (search Google). It is one of many free programs that allow you to see which process is attached to which port on your machine. You can also kill any process listed. This will allow you to avoid a

[JBoss-user] [JBossWS] - Re: WS-Action Dispatching

2005-11-11 Thread scampana
In JSR-261 Section 3.0 Server-Side Programming Model 5. If wsaw:Action header is present in the inbound message on the server side, then the operation is dispatched based upon the wsaw:Action header. This overrides any existing dispatch mechanism. It is also becoming the norm in Web Service

[JBoss-user] [JBoss Portal] - some general questions about Jboss Portal , I need Advice

2005-11-11 Thread [EMAIL PROTECTED]
Hi Thank you for reading my post. I should develop a system similar to www.adbright.com my question are 1-how JBoss Portal portal can ease my developing job ? I use RWD as my IDE and i want its Struts designer features it means that : 2-can use an IDE like RWD whichcan develop jsp pages in

[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2005-11-11 Thread mholzner
you don't need a work around, you need to read the java doc ;) | req.getPortletSession().getAttribute(, PortletSession.APPLICATION_SCOPE); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906820#3906820 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: Page change callback hook

2005-11-11 Thread mholzner
I wouldn't do that in a page change. You can eiher do it at the end of the doView () etc. method of the portlet, or register a session listener that clears the reference when the session gets destroyed. But I agree: a page change listener could be an interesting feature. Anybody with some

[JBoss-user] [JBossWS] - How to control generated SOAP request namespace

2005-11-11 Thread [EMAIL PROTECTED]
Hi, I'm having a hard time with WS and really appriciate if someone will give me a clue on what's my problem. I have develop a WS and it's related client using the procedure described in chapter 12 of the documentation (using wsdl2java and wscompile based on a WSDL). After a couples of days,

[JBoss-user] [Management, JMX/JBoss] - how to delivar message asynchronously in jboss..

2005-11-11 Thread jbossback
hi all I am very new to JBOSS.. I am sorry to ask this qq. I have a client which posts a message to topic created in jboss.. and I have an MDB to listen to that topic and consume the messages.. now when I am posting the messages to the topic and I added a 5 secs delay in the MDB to consume..

[JBoss-user] [Messaging, JMS JBossMQ] - how to delivar message asynchronously in jboss..

2005-11-11 Thread jbossback
hi all I am very new to JBOSS.. I am sorry to ask this qq. I have a client which posts a message to topic created in jboss.. and I have an MDB to listen to that topic and consume the messages.. now when I am posting the messages to the topic and I added a 5 secs delay in the MDB to consume..

[JBoss-user] [JBoss Portal] - Re: How to change navigation portlet??

2005-11-11 Thread mholzner
no , you don't have to rewrite it if you want a new page to show up ! Have you even tried that ? Obviously not ;) You asked how you could change the structure of the portlet, and yes, for that you'll have to change code. Perhaps if you can elaborate a bit more about what it is that you try

[JBoss-user] [JBoss Portal] - Re: Page change callback hook

2005-11-11 Thread alesj
Thanx for reply. Current I use HttpSessionBindingListener. I'm having a statefull session object which is used for searching. I combine the power of Lucene with EJB3 persistance. And I need to 'remember' some of the stuff that was used. But when the user leaves this search page I discard the

[JBoss-user] [JBossWS] - Re: How to control generated SOAP request namespace

2005-11-11 Thread BogSolomon
Not entirely, although it might be related to the qualified part. If you look at | ns1:agent xmlns:ns1=urn:BLC:/test/schema/test | ns1:NO_COURTIER33/ns1:NO_COURTIER | ns1:NO_AGENT333/ns1:NO_AGENT | /ns1:agent | All the elements have the urn:BLC:/test/schema/test

[JBoss-user] [Installation, Configuration Deployment] - Re: Using external entities in JBoss configuration files

2005-11-11 Thread jwillemin
Anyone? External entities are part of the XML spec. It seems quite strange that they only work in certain cases. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906839#3906839 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Re: JBoss 4.0 JNDI from standalone program

2005-11-11 Thread delkant
hi there.(first: my english is not the best.. :)) I have try these with two jboss servers jboss4.0.2 and jboss4.0.3SP1, after some little errors i get all working, i will put here some tips where i was stack in my tests, my source: the ejb-jar.xml file significative part: !--

[JBoss-user] [JBossWS] - Re: How to control generated SOAP request namespace

2005-11-11 Thread [EMAIL PROTECTED]
Thanks for taking the time to look at my problem. BTW, I forgot the tell that I'm using JBoss 4.0.2 The WSDL related to the WS a very big and use a lot of XSD (by import), and that's why I did not post the WSDL. But here is the sections that I think is relevant for my problem: | ?xml

[JBoss-user] [Performance Tuning] - Slow first time execution. Need to preload?

2005-11-11 Thread madeonmoon
Hello all, I have a J2EE app deployed in Jboss and most of the processing is done within JMS components (via message-drive beans). I've heard user complains saying that the first time a particular jms message is processed, processing times are significantly slower than subsequent runs (8

[JBoss-user] [JBossCache] - Re: TreeCache instantiation

2005-11-11 Thread [EMAIL PROTECTED]
What test cases? Please explain exactly what you're doing; you're post gives very little information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906850#3906850 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906850

[JBoss-user] [JCA/JBoss] - java.sql.SQLException: Table 'TIMERS' already exists with My

2005-11-11 Thread [EMAIL PROTECTED]
you are getting the following when using MySQL 4.x 2005-11-07 09:12:53,144 DEBUG [org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin] Executing DDL: create table TIMERS ( TIMERID varchar(80) not null, TARGETID varchar(80) not null, INITIALDATE TIMESTAMP not null, TIMERINTERVAL

[JBoss-user] [JCA/JBoss] - Re: violates loader constraints

2005-11-11 Thread xijia_chen
Thanks, Adrian. Sorry for posting the question to the wrong forum. New to the community also, learning...:). I will certainly ensure to post question to the rgith forum next time. FYI... I have identified the cause of the issue I posted and found a solution to it. Hope this post will close the

[JBoss-user] [EJB/JBoss] - Caching client ejb connections

2005-11-11 Thread tim5901
I have been working with Jboss for 2 years now and I still feel like a beginner. So plesae forgive me if this is a stupid question. When writing a client that accesses an EJB is it good/bad practice to cache the Home interface received by a findByPrimaryKey() call? My concern is how much of a

[JBoss-user] [Clustering/JBoss] - Re: JMS Queue Problem with other cluster members

2005-11-11 Thread gavkearney
would i be right in assuming that if have 2 or more nodes on a network and i'm using JMS queues, the queues will only start on the first node to start up and not the subsequent nodes. If this is the case, how would i go about making the JMS queues in the first node available to the subsequent

[JBoss-user] [Beginners Corner] - Re: I can't get Jboss to restart

2005-11-11 Thread JayTaylor
Thanks for the replys. I wound up doing a ps -e | grep jboss, but nothing showed up. I then did ps -e and I noticed that there were several instances of java. So I tried starting jboss again, and sure enough another instance of Java showed up. I killed all of the Javas that were there and

[JBoss-user] [JBossWS] - Re: How to control generated SOAP request namespace

2005-11-11 Thread BogSolomon
The ns1, ns2, etc namespaces are generated automatically by the Jboss Axis engine used for serialization. The mapping file should take care of the namespace mapping, however your WSDL declares the schema as unqualified. Because it is unqualified only the parent can have a namespace -

[JBoss-user] [Clustering/JBoss] - jboss - startup transaction manager

2005-11-11 Thread oschei
Problem with the AutoDiscovery solved. You have to run the skript run.sh with the host option. 1.How can I make this automatically? 2.No transaction is present at the startup. How and where should I configure the transaction manager ? 19:04:20,313 INFO [TreeCache] setEvictionPolicyConfig():

[JBoss-user] [Performance Tuning] - Re: Slow first time execution. Need to preload?

2005-11-11 Thread the-gtm
8s is a long time, looks like the client is trying to connect to a machine that doesn't exist. After the timeout has expired it somehow manages to reach the server. Several server names in your config files ? View the original post :

[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession

2005-11-11 Thread bcollins
You are correct...I guess I should have read the code as well... | if (i == PORTLET_SCOPE) | | { | | s = prefix + s; | | } | | return session.getAttribute(s); Thanks. View the original post :

[JBoss-user] [JBossWS] - Re: How to control generated SOAP request namespace

2005-11-11 Thread [EMAIL PROTECTED]
Againt thanks a lot. I now have a good idea of what is going wrong. A just have 2 more little question: 1. Do you have an idea of when JBoss 4.0.4 will be shipped? 2. If I choose the use the ws4ee-deployment.xml descriptor, how does I overide existing type mapping in this file? For what I

[JBoss-user] [JBossWS] - Re: How to control generated SOAP request namespace

2005-11-11 Thread BogSolomon
1. If I read the JIRA right http://jira.jboss.com/jira/browse/JBAS?report=com.atlassian.jira.plugin.system.project:roadmap-panel JBoss 4.0.4 final should be released on 10/Dec/05. 2. Yes the ws4ee-deployment file gets merged with the WSDD file. basically if there is a mapping int both the WSDD

[JBoss-user] [JBossWS] - Re: How to control generated SOAP request namespace

2005-11-11 Thread [EMAIL PROTECTED]
Again, thank you very much for the very good and clear explanation. -Sebastien Roy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906878#3906878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906878

[JBoss-user] [EJB/JBoss] - Can't Access Remote EJB from Servlet

2005-11-11 Thread jtorres
Environment: JDK 1.4.2_09 JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054) Deployment 1: A simple hello world Session EJB (ejb 2.1) deployed as an EJB jar. Deployment 2: A web application (Servlet 2.4) client that has a simple servlet that looks up the remote Session

[JBoss-user] [EJB/JBoss] - Re: Can't Access Remote EJB from Servlet

2005-11-11 Thread jtorres
The following are my descriptors: For Web Client, snippet: | ?xml version=1.0 encoding=UTF-8? | | web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee

[JBoss-user] [JBoss Portal] - JBOSS AS needs JBPSS Portal

2005-11-11 Thread hypergori
Do I need JBOSS AS for JBOSS Portal? It doesnt work without JOBOSS ? or It works only with tomcat ? Is there any EJB related technology? or Only Servlet and JSP things? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906882#3906882 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: JBOSS AS needs JBPSS Portal

2005-11-11 Thread hypergori
Sorry I found the answer. My search wasn't enough. http://www.jboss.com/index.html?module=bbop=viewtopict=69046 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906883#3906883 Reply to the post :

[JBoss-user] [Beginners Corner] - JBoss 4.0 Documentation

2005-11-11 Thread apritz
Does anyone know where to get the JBoss 4.0 documentation from? I was unable to get anything from the links on the JBoss site: http://www.jboss.com/products/jbossas/docs Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906884#3906884 Reply to the post

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: jboss/tomcat on linux: request times out for clients beh

2005-11-11 Thread fhassan
Figured it out: MTU value was too large. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906886#3906886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906886 --- SF.Net

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Why don't aways have datasource-mapping mysql not find in

2005-11-11 Thread h45678
After struggling for 2 weeks because of error datasource-mapping mysql not find ,in jboss4.0.0. and put mysql-ds.xml to default\deploy . I already finally configured as following : in mysql-ds.xml local-tx-datasource jndi-namemysqldbstudents/jndi-name

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Why don't aways have datasource-mapping mysql not find in

2005-11-11 Thread h45678
After struggling for 2 weeks because of error datasource-mapping mysql not find ,in jboss4.0.0. and put mysql-ds.xml to default\deploy . I already finally configured as following : in mysql-ds.xml local-tx-datasource jndi-namemysqldbstudents/jndi-name

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Why don't aways have datasource-mapping mysql not find in

2005-11-11 Thread h45678
After struggling for 2 weeks because of error datasource-mapping mysql not find ,in jboss4.0.0. and put mysql-ds.xml to default\deploy . I already finally configured as following : in mysql-ds.xml local-tx-datasource jndi-namemysqldbstudents/jndi-name

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Why don't aways have datasource-mapping mysql not find in

2005-11-11 Thread h45678
After struggling for 2 weeks because of error datasource-mapping mysql not find ,in jboss4.0.0. and put mysql-ds.xml to default\deploy . I already finally configured as following : in mysql-ds.xml local-tx-datasource jndi-namemysqldbstudents/jndi-name

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Why don't aways have datasource-mapping mysql not find in

2005-11-11 Thread h45678
After struggling for 2 weeks because of error datasource-mapping mysql not find ,in jboss4.0.0. and put mysql-ds.xml to default\deploy . I already finally configured as following : in mysql-ds.xml local-tx-datasource jndi-namemysqldbstudents/jndi-name

[JBoss-user] [JBossCache] - Decoupling disk writes

2005-11-11 Thread dlg
Hi-- I'm thinking of using JBossCache in a large project and I've been reading the docs, but I'm not totally clear about some aspects. I appologize for the really basic questions, but I was hoping someone might know, since it would help me choose whether to use JBossCache. I've got a Map

[JBoss-user] [JBossCache] - Re: Decoupling disk writes

2005-11-11 Thread [EMAIL PROTECTED]
Use an AsyncCacheLoader as facade, as described in the documentation (jboss.com/products/jbosscache) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906911#3906911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906911