[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: jsessionid missged in the request

2009-06-15 Thread C.H.
Add SessionCookie path=/ element inside a Context element, for example in context.xm of application or in deploy/jbossweb.sar/context.xml look http://www.jboss.org/index.html?module=bbop=viewtopicp=4177448 View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migration of a Tomcat app to JBoss 4.x

2009-06-15 Thread Allen_Lei
Generally speaking,it's very simple to migrate apps from tomcat to jboss because the web container of jboss is tomcat. But for the specialty in your app,i just show some sugguests as follows: 1) Datasource: you can use jboss jndi by defining *-ds.xml under deploy/; 2) Log: you can use Log4j.xml

[jboss-user] [Javassist user questions] - Method body: introducing anonymous inner class

2009-06-15 Thread baranowb
Hi Is it possible to define anonymous inner class and pass parsing? Javassist is supposed to instrument method which in some cases must embed call into implementation of certain interface. generated method body is 100% correct, checked it with IDE (after removing $$ and other javassist magic

[jboss-user] [JBoss OSGi] - Re: JBossOSGi source archive

2009-06-15 Thread thomas.dies...@jboss.com
sure https://jira.jboss.org/jira/browse/JBOSGI-101 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237542#4237542 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237542 ___

[jboss-user] [JBoss jBPM] - Reg:Cannot read the xml file

2009-06-15 Thread raghavarapu
Hi, I am very new to the jbpm and following it thru a tutorial based on the book,Business Process management with JBoss and JBPM. I was able to create the workflow and deploy it in the localhost of JBPM and was able to login to it. But when i am clicking on the Start Process link, i am getting

[jboss-user] [JBoss OSGi] - Re: OSGi + EE code in the same JAR ?

2009-06-15 Thread thomas.dies...@jboss.com
Have you seen this? http://jbossosgi.blogspot.com/2009/06/jboss-osgi-runtime-as-integration.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237544#4237544 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237544

[jboss-user] [JNDI/Naming/Network] - Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread kennardconsulting
Hi all, In JBoss 4.2.3, I used to be able to do... new InitialContext().lookup( ear-name/ejb-name/local ) ...and it worked great, even from servlet filters. But in 5.1.0.GA, I can find no such mapping, even though the logs say the beans are all deployed. I see a lot of references in the

[jboss-user] [Javassist user questions] - Re: Method body: introducing anonymous inner class

2009-06-15 Thread baranowb
Ach, seems like reading more carefuly pays of. 4.7 Limitations: # Inner classes or anonymous classes are not supported. Does anyone had similar use case and can propose some handy pattern? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237545#4237545 Reply

[jboss-user] [JBoss OSGi] - Re: using log4j

2009-06-15 Thread thomas.dies...@jboss.com
You bundle is trying to load apache commons logging http://commons.apache.org/logging/apidocs/index.html Not Log4j. You need to have a bundle that exports that package. There are also other ways to make a package available - please see the spec for details 3.8 Runtime Class Loading

[jboss-user] [JBoss Messaging] - Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not suppo

2009-06-15 Thread kennardconsulting
Hi all, In JBoss 4.2.3, I used to be able to do... mbean code=org.jboss.mq.server.jmx.Queue |name=jboss.mq.destination:service=Queue,name=app/imports1 |... | /mbean ...and it worked great, but in JBoss 5.1.0.GA, I'm being told 'app' is not bound. I can get it working if I do...

[jboss-user] [JBoss OSGi] - Re: Unresolved constraint on bundle library

2009-06-15 Thread thomas.dies...@jboss.com
Have you seen? http://jbossosgi.blogspot.com/2009/06/jboss-osgi-runtime-as-integration.html The jars in runtime/lib (more correctly the packages that they contain) are not automatically added to the | org.osgi.framework.system.packages | property View the original post :

[jboss-user] [Security JAAS/JBoss] - Re: Authentication in ejb container fails to use security do

2009-06-15 Thread jaikiran
anonymous wrote : We tried adding security-domainjava:/jaas/FileNet/security-domain as a top level element in jboss.xml to no avail. I remember there was a change in AS-4.x where the security domain name was no longer expected to contain the java:/jaas prefix. I guess you were using a 4.0.x

[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-15 Thread gaohoward
you probably need to specify the JNDIName attribute inside the . View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237554#4237554 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237554

[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-15 Thread gaohoward
you probably need to specify the JNDIName attribute inside the mbean. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237555#4237555 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237555

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread jaikiran
What do you see in the console when the beans are being deployed. Can you post the console (not server.log) logs? While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread kennardconsulting
jaikiran, Thank you for your fast reply. Here is a snippet of the console output (the actual output is very long, as you can imagine). Let us say I am after the bean 'DocumentBean'. Here is everything from the console that mentions DocumentBean: | ...lots of output... | 2009-06-15

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread jaikiran
anonymous wrote : 2009-06-15 13:03:34,296 INFO [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI: | (two blank lines) | This is strange. Can you post the bean implementation code (along with the annotations and the

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread kennardconsulting
jaikiran, Thanks again for being so helpful. Again there is rather a lot of code involved. I will try to post the relevant bits: package com.avant.ss.ejb.session; | | import java.io.File; | | import javax.ejb.Stateful; | | import com.avant.ss.ejb.entity.Document; | import

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread jaikiran
The important part: jaikiran wrote : | | Where is the avant-ss-ejb.jar located in the avant-ss-app.ear? Also do you list avant-ss-ejb.jar in any MANIFEST.MF files of the jars? If yes, remove it from those MANIFEST.MF files View the original post :

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread kennardconsulting
jaikiran, Apologies. My deployment is exploded, so avant-ss-ejb.jar is a folder at: N:\jboss-5.1.0.GA\server\all\deploy\avant-ss-app.ear\avant-ss-ejb.jar\ No, avant-ss-ejb.jar is not mentioned in any MANIFEST.MF. Only in application.xml: ?xml version=1.0 encoding=UTF-8? | application

[jboss-user] [JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a

2009-06-15 Thread jbarrez
Adding more executor threads will only help when there is a bottleneck in the asynchronous continuations, not in regular business process execution. But tweaking Hibernate for your needs is generally an excellent idea. View the original post :

[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-15 Thread kennardconsulting
gaohoward, Thank you for your quick reply. Unfortunately using JNDIName gives the same error ('app' not bound). It's probably fair to say that app isn't bound, but I was kind of hoping JBoss Messaging would create it automatically (like JBoss MQ did). Regards, Richard. View the original

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread jaikiran
Everything looks right. This log is suspicious though: anonymous wrote : 2009-06-15 13:03:31,687 WARN [org.jboss.ejb3.Ejb3AnnotationHandler] (main) JBMETA-4: did not find any bean meta data for annotation bean DocumentBean, will create some | This usually happens when the EJB (jar) is being

[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-15 Thread jaikiran
Can you please post the entire configuration file which gives this error and also the entire exception stacktrace? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237574#4237574 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread kennardconsulting
It is not present anywhere else, or reference in any MANIFEST files, sorry. But note it is not a JAR file either: it is an exploded folder named '.jar'. This is okay in 4.2.3.GA - is it still okay in 5.1.0.GA? View the original post :

[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-15 Thread kennardconsulting
destinations-service.xml: ?xml version=1.0 encoding=UTF-8? | | !-- | Messaging Destinations deployment descriptor. | | $Id: destinations-service.xml 85945 2009-03-16 19:45:12Z dimit...@jboss.org $ | -- | | server | |!-- | The Default Dead Letter

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-06-15 Thread vickyk
The required changes are attached here https://jira.jboss.org/jira/browse/JBAS-1429 The reauthenitication mechanism with jdbc ra will work when 1) reauthentication-support tag is enabled in ra.xml at jboss-local-jdbc.rar/META-INF/ra.xml AND jboss-xa-jdbc.rar/META-INF/ra.xml AND 2) The -ds.xml

[jboss-user] [Beginners Corner] - Re: Migration from Weblogic - Datasource/ConnectionPool

2009-06-15 Thread qcavalier
Ok since nobody seems to have had this problem.. Let me give you an update on my progress.. I found a way to make it work but it doesn't really make much sense to me so I would really appreciate thoughts, ideas on the subject.. I made it work after I do the following procedure: - startup

[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-15 Thread timfox
The stacktrace shows the exception is thrown from the JCA adapter, not from JBoss Messaging. The generic JCA adapter is part of the application server project, it's not handled by the JBoss Messaging team. Your best bet would be to post in the JCA users forum. View the original post :

[jboss-user] [Security JAAS/JBoss] - Re: Urgent -Please - Custom Security Manager doesn't work!

2009-06-15 Thread s_difranca
PLEASE HELP ME ! I NEED FOR MORE INFORMATION ABOUT CONFIGURATION OF CUSTOM SECURITY MANAGER View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237584#4237584 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237584

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread jaikiran
Yes an exploded jar file should be fine. I don't see a reason why the metadata is not created for this jar. Please create a JIRA in EJBTHREE project here https://jira.jboss.org/jira/browse/EJBTHREE and assign it to me. Also, if possible please attach the small application which reproduces this.

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Browser hangs intermittently when request for images are

2009-06-15 Thread gbansal80
On further investigations, we found that on JBoss end, socket goes in CLOSE_WAIT state and would remain in that state for long period of time. This issue closely resembles the JIRA https://jira.jboss.org/jira/browse/JBWEB-82 I would like to know if there is a fix for this isssue in JBoss

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging not working as expected

2009-06-15 Thread Fenrizwolf
Hi! Can you please tell me the link to JIRA and what do you mean with self contained test? Do you mean the source of the program i am using? So long! Alex View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237597#4237597 Reply to the post :

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: emptySessionPath with HTTP/1.1 Connector

2009-06-15 Thread jfrederic.cl...@jboss.com
See http://www.jboss.org/index.html?module=bbop=viewtopicp=4237596#4237596 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237598#4237598 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237598

[jboss-user] [JBoss Portal] - Re: The Chinese characters were garbled in the cms of portal

2009-06-15 Thread ariel_red
I have solved the problem.I am willing to share it. As long as you add the text in the file of run.bat as below set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=utf-8 ,you will get normal Chinese characters when your restart the server. Hope it helps! View the original post :

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Browser hangs intermittently when request for images are

2009-06-15 Thread jfrederic.cl...@jboss.com
See https://jira.jboss.org/jira/browse/JBPAPP-366 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237601#4237601 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237601 ___

[jboss-user] [JBoss jBPM] - Re: Signal process instance asynchronous

2009-06-15 Thread hhhuber
i know about the 'async' attribute. but it does not what i want. what i need is a possibility to start the process asynchronously. using 'async' in a node whould mean to start the process synchronously and then continue asynchronously when the first node is executed. any other suggestions?

[jboss-user] [JBoss Tools (users)] - Re: Visual Page Editor support the new layout components in

2009-06-15 Thread dmaliarevich
Now rich faces layput in VPE is an approximation limited to specific layout logical names together with css syles to layout panels. Previously it was done only with css styles but in this case the order of panel's adding was set aside. To manage it draft div elements are created for every panel

[jboss-user] [JCA/JBoss] - Re: MySql XA Datasource with JBoss 5.1.GA

2009-06-15 Thread vickyk
Where is the -ds.xml file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237607#4237607 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237607 ___ jboss-user mailing list

[jboss-user] [JCA/JBoss] - Re: MySql XA Datasource with JBoss 5.1.GA

2009-06-15 Thread vickyk
jaikiran wrote : | Looks like there's some (unintentional) change in newline handling of property values, in -ds.xml, in AS-5.x Yes I remember one of the users reporting it before. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237608#4237608 Reply to the

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging not working as expected

2009-06-15 Thread gaohoward
https://jira.jboss.org/jira/browse/JBMESSAGING If you have a program that can reproduce the issue, it will be perfect for us to solve it. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237610#4237610 Reply to the post :

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Browser hangs intermittently when request for images are

2009-06-15 Thread gbansal80
Can we install JbossWeb native component as a subsitute for Jboss-web.deployer i.e. bundled with JBoss v4.2.3ga? Is JBossWeb native component installed as a seperate Java process? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237612#4237612 Reply to the post

[jboss-user] [JBoss Cache: Core Edition] - Transaction Timeout

2009-06-15 Thread gerryng
I have a script running. While running, it throws an exception. 2009-06-15 14:21:56,081 INFO [hksarg.etwb.pwpis.extinterface.cdg.service.CDGWebServices] Begin Invoking AppService to execute uploaded sql data at: Mon Jun 15 14:21:56 HKT 2009 | 2009-06-15 14:26:56,094 WARN

[jboss-user] [JCA/JBoss] - Re: RAR configuration best practice

2009-06-15 Thread vickyk
Have you referred to this wiki, it explains how to write an inbound ra? http://www.jboss.org/community/wiki/JBossJCAMessageInflowExample View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237613#4237613 Reply to the post :

[jboss-user] [EJB/JBoss] - META-INF/jboss.xml is being ignored

2009-06-15 Thread davidjgrant
Hi, I am attempting to override the container configuration for a CMP 2.x Entity Bean by including a jboss.xml DD in the EJB jar packaged within a deployed EAR. Whilst the jboss.xml DD for various EJB 3 deployments is logged by the JBoss deployer, there is no such logging for the EJB 2

[jboss-user] [EJB/JBoss] - Re: META-INF/jboss.xml is being ignored

2009-06-15 Thread davidjgrant
I forgot to point out that this is JBoss 4.2.3 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237616#4237616 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237616 ___ jboss-user

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Browser hangs intermittently when request for images are

2009-06-15 Thread jfrederic.cl...@jboss.com
JbossWeb native is just a native component just install it and restart jboss to use it. (See http://www.jboss.org/jbossweb/install/index.html) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237618#4237618 Reply to the post :

[jboss-user] [EJB/JBoss] - I am getting this error seting invoker proxy binding for sta

2009-06-15 Thread jboss_Shailendra
Created new session ID: fvuljykb-16 DEBUG - [12 Jun 2009 13:18:22,346] Using create method for session: public void consult.ejbs.authoring.cases.CaseSessionBean.ejbCreate() DEBUG - [12 Jun 2009 13:18:22,346] seting invoker proxy binding for stateful session: stateful-unified-invoker View the

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: emptySessionPath with HTTP/1.1 Connector

2009-06-15 Thread joe563za2
Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237623#4237623 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237623 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Messaging] - JBoss Messaging - Error while getting connection

2009-06-15 Thread jai_jboss
Hi , I am new to JMS environment. I am using Jboss-5.0.0GA and able to add a new connection factory and destination as per specification successfully .I am also able to get a connection factory from a stand alone program but form the connection factory I am not able to get the connection .

[jboss-user] [JBoss/Spring Integration] - Re: @Spring injection problem

2009-06-15 Thread alesj
Are you bundling your own version of Spring in the .war? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237626#4237626 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237626 ___

[jboss-user] [JCA/JBoss] - Re: MySql XA Datasource with JBoss 5.1.GA

2009-06-15 Thread mdesignz
Hello, Yes it was the newline handling. A tag has to be contained on a single line or else this problem comes up. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237627#4237627 Reply to the post :

[jboss-user] [Beginners Corner] - Need for JBOSS

2009-06-15 Thread masatheesh
Hi, I am newbie for this forum and JBOSS.I need to view webapps folder inside JBOSS like tomcat.To perform this,what should i do? can anybody please guide me.I have tried with some downloads.But all are not having webapps folder. View the original post :

[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Messaging Samples

2009-06-15 Thread vijay.jbossuser
Thanks for the reply. But I have problems understanding the destination-service.xml file. I mean the entry I have to put.Could you please check if this one is correct. testQueue depends optional-attribute-name=DestinationManager jboss.mq:service=DestinationManager View the original post :

[jboss-user] [Beginners Corner] - Re: Need for JBOSS

2009-06-15 Thread jaikiran
In JBoss you need to place the war (and other deployables) in %JBOSS_HOME%/server/ servername/deploy folder. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237642#4237642 Reply to the post :

[jboss-user] [JBoss Messaging] - destinations-service.xml adding testQueue

2009-06-15 Thread vijay.jbossuser
Hello everyone, Could you please help me with adding a entry for the queue at destination-service.xml.Could you please check whether this entry is correct. testQueue depends optional-attribute-name=DestinationManager jboss.mq:service=DestinationManager View the original post :

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread kennardconsulting
jaikiran, Okay I believe I have located the problem. I have not opened a JIRA yet because this may well be spec, though it seems a strange spec to me (and certainly different from JBoss 4.2.3). Basically: the presence of an app.ear/ejbs.jar/META-INF/ejb-jar.xml file, even an empty one,

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread kennardconsulting
jaikiran, Okay I believe I have located the problem. I have not opened a JIRA yet because this may well be spec, though it seems a strange spec to me (and certainly different from JBoss 4.2.3). Basically: the presence of an app.ear/ejbs.jar/META-INF/ejb-jar.xml file, even an empty one,

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging - Error while getting connection

2009-06-15 Thread gaohoward
Can you please give more details here? for example, are your client and server on the same machine or different machine? How are your client side JNDI properties like? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237649#4237649 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-15 Thread jaikiran
Hmm, this is a weird ejb-jar.xml: | ?xml version=1.0 encoding=UTF-8? | | ejb-jar | | /ejb-jar Can you change it to: ?xml version=1.0 encoding=UTF-8? | ejb-jar version=3.0 | xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Messaging Samples

2009-06-15 Thread gaohoward
It's not ok. Take a look at the destination-service.xml file, there are some entries and you can just copy and paste, making some modification, that all. Here is a simple example entry fyi: |mbean code=org.jboss.jms.server.destination.QueueService |

[jboss-user] [Clustering/JBoss] - Re: JNP lookup from multi-homed client

2009-06-15 Thread FrankTheTank
*bump* So what are the restrictions on clustering? Will this even work or not? thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237652#4237652 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237652

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Classloader issues in JBoss 5.0.0

2009-06-15 Thread Tarantul
Have the same problem. Does someone know the solution? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237660#4237660 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237660 ___

[jboss-user] [EJB 3.0] - Re: how to get principal from Entity

2009-06-15 Thread Wolfgang Knauf
Hi Roland, I think that EntityContext is EJB2 and no longer supported in EJB3. You can get this information from the SessionContext in a SessionBean: @Resource() | private SessionContext sessionContext = null; | | public void someSessionBeanMethod() | { |Principal principal =

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Classloader issues in JBoss 5.0.0

2009-06-15 Thread jaikiran
See this http://www.jboss.org/index.html?module=bbop=viewtopict=154592#4233045 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237665#4237665 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237665

[jboss-user] [JBoss Messaging] - Re: Serious idle problem with Bridges on AS 5.1.0.Beta

2009-06-15 Thread rnicholson10
I have tested all cases and the only way to recover from these errors is to restart both boxes. I will write a keep alive packet running from a timer and see does it fix the issue. I have added the following to jboss-log4j.xml. Howard, should this be sufficient to see further into the User

[jboss-user] [JBoss Messaging] - Re: Serious idle problem with Bridges on AS 5.1.0.Beta

2009-06-15 Thread gaohoward
Hi I think turn on security trace is a good idea, and it would be better if you also trace the remoting logs. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237673#4237673 Reply to the post :

[jboss-user] [Beginners Corner] - Can anybody point me to a public library using JBoss?

2009-06-15 Thread litarena
Can anybody point me to a public library using JBoss, especially one in the UK? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237676#4237676 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237676

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Classloader issues in JBoss 5.0.0

2009-06-15 Thread Tarantul
Thank you for this tip. Unfortunately the error is not resolved. I removed the following lines out of the jboss-web.xml: class-loading | loader-repositoryreportal.loader:loader=reportal.war | loader-repository-configjava2ParentDelegation=false/loader-repository-config |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Classloader issues in JBoss 5.0.0

2009-06-15 Thread Tarantul
By the way. Without a jboss-clasloading.xml the application cann not be deployed at all. Obviousely it's because of the Log4j, I'd like to use from my WEB-INF/lib directory: | Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to disable native Hibernate in JBoss 4.2.2 GA

2009-06-15 Thread gilberto_ruizmx
Hi! I am having some problems with LazyInitializationException issues and the solution seems to be to disable native Hibernate 3 implementation since I have included Hibernate 2 features in my application. How do I disable such service? Thanks in advance! View the original post :

[jboss-user] [JBoss jBPM] - Re: Reg:Cannot read the xml file

2009-06-15 Thread kukeltje
might be that there was a temporary error on that url. It returns correct data now. n View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237686#4237686 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237686

[jboss-user] [JBoss jBPM] - Re: Signal process instance asynchronous

2009-06-15 Thread kukeltje
making the the first node async has the same result as being able to start a process async afaik. If you do not want it this way, then create your own JMS publisher and an mdb for really starting the process. This is the default way for JEE apps to do things async. View the original post :

[jboss-user] [JBoss Cache: Core Edition] - How to replace CacheJmxWrapper with JmxRegistrationManager i

2009-06-15 Thread alex-jboss69
I am using Jboss Cache Core 3.1.0 and Jboss 5.1. Here is what I need to do: 1 - Deploy the cache using a xml -jboss-beans.xml descriptor. 2 - This descriptor must register the cache with the MBeanServer. 3 - Retrieve the cache in my code so I am able to use it. I am currently doing this as

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS automatically shuttingdown

2009-06-15 Thread sridhar1985
Hi, I am new to JBOSS. I am using jboss 4.2.2GA on SUSE Linux machine. Few minutes after starting JBOSS automatically shutting down. I think because of any low memory allocation is causing this. Please help me out. I am really strugling with this. The command i am using to run JBOSS in

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss startup problem

2009-06-15 Thread sridhar1985
Hi, I am new to JBOSS. I am using jboss 4.2.2GA on SUSE Linux machine. Few minutes after starting JBOSS automatically shutting down. I think because of any low memory allocation is causing this. Please help me out. I am really strugling with this. The command i am using to run JBOSS in

[jboss-user] [Clustering/JBoss] - build using 32-bit Sun 1.5 JDK in windows and deploy in 32-b

2009-06-15 Thread asookazian
Is there any potential problems associated with building/compiling my Java classes with Sun JDK 1.5 for my EE (Seam) app into an EAR and deploying on 32-bit Windows OS JBoss AS dev box using 32-bit Windows JDK 1.5 runtime (JVM) and then deploying the same EAR into 32-bit RHEL OS JBoss AS

[jboss-user] [Clustering/JBoss] - Re: build using 32-bit Sun 1.5 JDK in windows and deploy in

2009-06-15 Thread asookazian
Here is an example: @Entity | @Table(name = ApplicationSite, schema = dbo, catalog = EquipmentRecovery) | public class ApplicationSite implements java.io.Serializable { | | private static final long serialVersionUID = -8318603160581183431L; | ... | } View the original post :

[jboss-user] [JBoss Messaging] - Unsubscribe of durable topic fails

2009-06-15 Thread CarstenRudat
Hi all, I have JBoss Messageing 1.4.1 with JBoss Remoting 2.5.1 running on JBoss AS 4.2.3.GA (all config) and I have serveral clients connected to a durable topic. Sometimes, when a client application closes and therefore unsubscribes from the topic, I have a server-side-exception: |

[jboss-user] [JBoss Messaging] - Re: Unsubscribe of durable topic fails

2009-06-15 Thread CarstenRudat
sorry... versions are JBoss Remoting 2.5.0.SP2 JBoss Messaging 1.4.2.GA-SP1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237703#4237703 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237703

[jboss-user] [JBossWS] - does jbossws-metro tests works on JBAS 5.x ?

2009-06-15 Thread wwu
hello, I have tried on several Jboss server (5.0.0, 5.0.1, 5.1.0). with the latest release of jbossws-metro (3.1.1, 3.1.0), is seems that the tests have a very low success rate (less than 4%). This is installation of jbossws-metro-3.1.0 It seems that Jboss is not able to find the Class

[jboss-user] [JBoss Messaging] - Re: Serious idle problem with Bridges on AS 5.1.0.Beta

2009-06-15 Thread rnicholson10
Ok so if I have this to trace: |category name=org.jboss.jms | priority value=TRACE/ |/category | |category name=org.jboss.remoting | priority value=TRACE/ |/category | I havn't added security as I think it's under the jms package. If it's something

[jboss-user] [JBoss Messaging] - Completely confused by client failover

2009-06-15 Thread chtimi2
First i will explain my use case so that you can get a general sense of what i'm trying to do: 1/ Use case I have a clustered JBoss 5.1.0 ear application (with default JBM so 1.4?). A Swing application is connected to both nodes and receives JMS notifications via a

[jboss-user] [Clustering/JBoss] - Re: build using 32-bit Sun 1.5 JDK in windows and deploy in

2009-06-15 Thread bstansbe...@jboss.com
I've never heard of any problems with using a build on multiple platforms and don't expect there to be any. The AS itself doesn't produce separate builds. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237706#4237706 Reply to the post :

[jboss-user] [Clustering/JBoss] - Re: build using 32-bit Sun 1.5 JDK in windows and deploy in

2009-06-15 Thread asookazian
ok thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237708#4237708 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237708 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: getting messages on one node of cluster

2009-06-15 Thread gozilla
If you deploy your MDB as a ha-singleton, wouldn't it fill up your requirements ? 1. Only one node consumes messages. 2. message sucker will migrate messages from other node to this one. The only issue I see with this solution is ordering. Messages sent to other nodes will be processed after

[jboss-user] [JNDI/Naming/Network] - Re: Question about InitialContext.lookup on a JNDI server.

2009-06-15 Thread PeterJ
The simple answer: include all of the JARs in the client directory. If you want the minimum set of JARs, you can use JBoss Tattletale (under Projects | Tools in the tabs at the head of this web page) . Tatttletale provides various dependency reports that will help you determine exactly which

[jboss-user] [Clustering/JBoss] - Re: JNP lookup from multi-homed client

2009-06-15 Thread bstansbe...@jboss.com
The jnp.localAddress property in your jndi.properties will control what interface the client side naming context binds its socket on. See discussion of that property on http://www.jboss.org/community/wiki/NamingContextFactory If that doesn't resolve your issue, please include all your naming

[jboss-user] [Clustering/JBoss] - Re: Jboss Clustering over TCP

2009-06-15 Thread bstansbe...@jboss.com
What AS release? The cluster-service.xml isn't the only relevant config file. There are also JGroups channels opened for HttpSession replication, EJB3 SFSB replication and EJB3 entity caching (if your AS version supports EJB3). Where in deploy the configs for those are depends on what AS

[jboss-user] [JBoss Cache: Core Edition] - Re: Any way to ignore cache loader exceptions?

2009-06-15 Thread drcallaway
Yes. I have set async = true but that doesn't prevent errors in the asynchronous cache loader from throwing exceptions. If the database goes down, so does the local cache. However, I was able to fix my problem by subclassing JDBCCacheLoader and catching the exceptions thrown by its public

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Put a file on jboss 4.0.2 with out bundling it in a jar,

2009-06-15 Thread shsharma79
I have found a solution to my query. It might not be a clean solution but I thought I will publish it here so that other might benefit if they have similar need. Solution: Create a directory my-app.war in the deploy folder and put the file in there. JBoss will throw a warning saying that it

[jboss-user] [JCA/JBoss] - Re: RAR configuration best practice

2009-06-15 Thread cpslo1999
Thank you for the pointer. I had looked at that example, and while it is very useful in showing how all the pieces fit together, there isn't much in the way of connection properties. It really only has the target directory. I still have that information in my ra.xml file, and logically I'm

[jboss-user] [JBossWS] - Re: does jbossws-metro tests works on JBAS 5.x ?

2009-06-15 Thread alessio.sold...@jboss.com
Sure, 100% tests passing with all the supported target containers is a requirement for release. I suspect you're suffering from a installation issue. Did you properly installed jbossws-metro using the ant deploy-jboss5xx target? Also double-check you don't have jbossws-native jars in the

[jboss-user] [Clustering/JBoss] - Migration from mod_jk to mod_proxy

2009-06-15 Thread pinipinilla
I have two servers jboss 4.0.4.GA in cluster. The web server is apache Apache/2.0.52 which is using module mod_jk/1.2.25 to load_balancing and failover. The OS is RHEL AS 4.5. All this system run very well. I'm trying to migrate this old system to a newer one. The new cluster has two nodes

[jboss-user] [Security JAAS/JBoss] - Re: Authentication in ejb container fails to use security do

2009-06-15 Thread clin1
Thanks for your responses. We have tried using JBoss 5.1.0GA and ran into exactly the same problem. We also tried using security-domainFileNet/security-domain as jaikiran mentioned, and the result was the same. We could ran Java client application using EJB transport without problems. This

[jboss-user] [Clustering/JBoss] - Re: Jboss Clustering over TCP

2009-06-15 Thread xav.vijay
The Jboss release is 4.2.1 GA. I have managed to get the cluster working between the 2 servers, by using their IP's instead of their hostnames. I will make the necessary changes in the other files which you have mentioned to see how it goes. But i have heared that JBOSS clustering over TCP

[jboss-user] [Javassist user questions] - CtMethod -- java.lang.reflect.Method

2009-06-15 Thread ad-rocha
Hi All, Is there a direct way to convert from CtMethod to java.lang.reflect.Method? Thanks in advance, Andre View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237735#4237735 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSSAS Install problem - Do I have to use Sun Java?

2009-06-15 Thread jephperro
Hi, I'm trying to install JBossAS on a Red Hat box. I'm having troubles with the install. I've been looking around the forum and haven't seen this same problem anywhere. But is it true that I need to use the Sun version of Java? # ./run.sh

[jboss-user] [Beginners Corner] - How to prevent CSRF (Cross Site Request Forgeries)

2009-06-15 Thread acastanheira2001
Hi, How to prevent CSRF attacks? I´ve seen that it needs POST security tokens. How to set on Jboss? Thanks, Andre View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237738#4237738 Reply to the post :

[jboss-user] [JBoss Messaging] - Singleton MDB problem

2009-06-15 Thread newmanw10
I want a singleton MDB so that only one message gets processed at a time. I.E. receive the message from the queue, process the message in its entirety, then process the next message. I have deployed the jms service as deploy-hasingleton, and I have the @ActivationConfigProperty for maxSession

  1   2   >