[JBoss-user] [Beginners Corner] - Re: session values

2005-08-01 Thread sriramp_here
Hi, Try deleting the contents under the folder work and tmp. This may help but not sure ;-) Sriram.P View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887630#3887630 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887630

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: SSL js_security_check problem

2005-08-01 Thread tquas
Scott, thanks for following up. I don't really get the message, though. Yes, j_security_check is a special alias used by the system. Using it from HTML forms is common practice. So what's wrong with redirecting from a JSP? View the original post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ Login Module Configuration

2005-08-01 Thread schrouf
This might be an indication that a JMS user hasn't specified user/pwd credentials (e.g. simply calling getTopicConnection() instead of getTopicConnection(user,pwd)). Try to identify the causing consumer/producer and check if he's providing propper credentials. Regards Ulf View the original

[JBoss-user] [JBoss Portal] - Instatiating portlet from another portal

2005-08-01 Thread marec
Is there a way how can I instantiate portlets from another portal? I have created new WAR file containing portlet-instances.xml as well as refproj-portal.xml. I wanted to instatiate ContentPortlet (defined in default portal - portal-core.war) with different URI property, therefore I wrote this

[JBoss-user] [EJB/JBoss] - After my restarting DB Server,throwes javax.ejb.CreateExcept

2005-08-01 Thread sunsong
My Database server is not stable,and I must restart it sometimes . Every time I restart it,my web application on JBoss cannot work. I checked the code,when the ejb's create() method is called ,it throws Exception : javax.ejb.CreateException: Error checking if entity

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Is this forum moniter by JBoss??

2005-08-01 Thread schrouf
anonymous wrote : | I know genman, schrouf and darranl drop in regularly as well. | | They are more tolerant of lazy users... | No, we don't like lazy users either... but maybe it just reminds us of our own 'dumb' questions while struggling to get started :-) View the original post

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Queue Reliable Message Delivery

2005-08-01 Thread schrouf
Guaranteed message delivery for queues just requires sending [bold]persistent[/bold] messages. As simple as that :-) Regards Ulf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887640#3887640 Reply to the post :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: A CMR collection may only be used within the transction

2005-08-01 Thread schrouf
Make sure that both beans ( the session bean and the entity bean) declare that a transaction is required. Then all of the 'internal' CMP entity bean operations should run in the same transaction of the 'outer' session bean. The container will create a transaction before invokation of your

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Exception: CMR field value is already loaded

2005-08-01 Thread schrouf
Even if a version upgrade always requires some work I would strongly recommend an upgrade to a JBoss version 3.2.6 as there is a connection pool leak in earlier JBoss versions under heavy load. Regards Ulf View the original post :

[JBoss-user] [J2EE Design Patterns] - Re: Static Initialization at server startup

2005-08-01 Thread halkw
I strongly advise you to use 'Service Locator Pattern' by using Singleton Pattern. If you had done this methodolgy, you could have make the module more efficiency. --- reference docs

[JBoss-user] [J2EE Design Patterns] - Re: Multithreading using MDB

2005-08-01 Thread halkw
I think that it's concerned at the MDB in duplicate. I recommend that you certain whether the Bean is Binded For example, You can check whether the thread prosess is running or aborted as the sample code below -- ... if(

[JBoss-user] [J2EE Design Patterns] - Re: Multithreading using MDB

2005-08-01 Thread halkw
Sorry I maybe guess wrong; I understood it in error; View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887657#3887657 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887657

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 EJB3 Problem catching exception while persis

2005-08-01 Thread Jonefun
Yes it makes sense for the EntityManager to throw the exception after a flush executes. However it appears that in this situation an exception is not being thrown by the EntityManager. Question : Is this a bug ? If it is, how do I flag it to the powers that be ? Jonathan View the original

[JBoss-user] [Beginners Corner] - Progressnotification

2005-08-01 Thread [EMAIL PROTECTED]
Hi everyone, I've a question about progressnotification. I have a standalone java client app which should invoke an long running calculation on an enterprise java bean. The calculation is realy heavy work which will take maybe hours. While work is in progress I want to show some kind of

[JBoss-user] [JCA/JBoss] - Re: DS

2005-08-01 Thread darranl
Don't dig up old posts and just add a ME TOO style comment at the end. Start a new thread showing YOUR code samples and the exceptions YOU are getting. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887671#3887671 Reply to the post :

[JBoss-user] [Clustering/JBoss] - Clustering EJB3 JBoss 4.0.3

2005-08-01 Thread amenra
I have a Problem concerning clustering ejbs. Searching did not lead me to a result so I am asking in this Forum: I was using the installer and chose the all config in the installer to install the AS. Now I am trying to experiment a little bit with clustered beans and immediately had a problem

[JBoss-user] [Beginners Corner] - Jboss 3.2.6 works with jdk 1.5 update 4?

2005-08-01 Thread josep_fornies
Hi, I'm beginner in a JBoss technology , I tried to install a Jboss 3.2.6 version but i 've this error java.lang.NoSuchMethodError at org.jboss.Main.boot(Main.java:98) at org.jboss.Main$1.run(Main.java:399) at java.lang.Thread.run(Unknown Source) Why? I tried 3.2.2

[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn - TreeCacheSSOClusterManager fails

2005-08-01 Thread drzewo
I checked what you wanted me to and confirm that the TreeCache is up and running. Here is what I get on the stdout (Sorry for the huge log) | === | . | JBoss Bootstrap Environment | . | JBOSS_HOME:

[JBoss-user] [Security JAAS/JBoss] - Logging login activity within JBoss login using SRP

2005-08-01 Thread wolfhard
Hi, Does anybody knows a method to log failed login attempts in JBoss using SRP protocol (Secure Remote Password)? Something like the Login Module described in http://www.quepublishing.com/articles/article.asp?p=389111 (Building a Custom JBoss Login Module) would be perfect. View the

[JBoss-user] [JBossWS] - Please Help! ERROR: Service endpoint bean class not set

2005-08-01 Thread Christy
Hi, I have an error and I don't know what to do. I wrote a clienr to test my web service, but at the line : System.out.println(output: + (String)call.invoke(argum)); I have an error: Retrieving document at 'http://debug/testws/Test?wsdl'. AxisFault faultCode:

[JBoss-user] [JBossWS] - Re: Mapping file generation with JWSDP-1.6?

2005-08-01 Thread Christy
Hi, I have JWSDP 1.6 and everything works fine. I generated mapping file and WSDL file wuth this command: C:\Sun\jwsdp-1.6\jaxrpc\bin\wscompile -classpath E:\cod\oceaninfo\build\classes -gen:server -f:rpcliteral -f:searchschema -mapping mapping.xml config.xml Good luck, Kristina View the

[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn - TreeCacheSSOClusterManager fails

2005-08-01 Thread drzewo
I kept investigating the problem and found the difference betweeen the machine where Clustered SSO works for me and the one where it doesn't. Moreover, I found the root of described the problem! Apparently some time ago I wanted to be able to reach jboss JVM via sun's jconsole, therefore I

[JBoss-user] [Messaging, JMS JBossMQ] - How do you set the number of retries on a MDB?

2005-08-01 Thread CWEAVER1321
I have been told that you can override the number of retires on a MDB. I cannot however find any documentation on how this is accomplished. Any help would be appreciated. Thanks in advance! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887695#3887695 Reply

[JBoss-user] [Security JAAS/JBoss] - Newbie: How to retrieve userid in servlet

2005-08-01 Thread bndct0
Hi, Managed to get my JAAS+Tomcat SSO working with the BASIC authentication method. Everything's working. My question is how to retrieve the userid from the container? Thanks. Any help is appreciated. View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Newbie: How to retrieve userid in servlet

2005-08-01 Thread tcherel
HttpServletRequest.getUserPrincipal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887697#3887697 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887697 --- SF.Net email

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How do you set the number of retries on a MDB?

2005-08-01 Thread schrouf
This can be configured within your queue/topic descriptor | ?xml version=1.0 encoding=UTF-8 ? | server | mbean code=org.jboss.mq.server.jmx.Queue | name=jboss.mq.destination:service=Queue,name=MessengerService | | depends

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How do you set the number of retries on a MDB?

2005-08-01 Thread CWEAVER1321
Thanks schrouf!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887699#3887699 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887699 --- SF.Net email is sponsored by:

[JBoss-user] [Security JAAS/JBoss] - Re: Newbie: How to retrieve userid in servlet

2005-08-01 Thread bndct0
Thanks Thomas. That did it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887701#3887701 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887701 --- SF.Net email is

[JBoss-user] [Security JAAS/JBoss] - anonymous users display restrictions

2005-08-01 Thread lmc
Hi! i'm new in Jboss Portal, i wan't to know how to make a portlet invisible to anonymous users. thanks for any answer View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887702#3887702 Reply to the post :

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Migrating from Weblogic to JBoss : problem with wepapp authe

2005-08-01 Thread djeanprost
Hello, I'm currently trying to migrate a webapp from weblogic8.1 to JBoss, and I'm meeting a problem I hadn't with WLS. My webapp has a security-constraint section with auth-constraint. I'm using Form authentication with DB Realm. My problem is that I can log in my webapp, but I get a 403

[JBoss-user] [Installation, Configuration Deployment] - Re: Still getting exceptions when run.sh executed

2005-08-01 Thread adellechiaie
Beware of the fact that all the subdirectories under deploy the META-INF and WEB-INF directories are UPPERCASE I've a HP-UX machine exporting some samba directories and I've found that if I copy a directory tree (like the http-invoker.sar) all the META-INF and WEB-INF directories are

[JBoss-user] [Installation, Configuration Deployment] - Snapshots can't be created...

2005-08-01 Thread shaamcom_83
Hi, Am using jboss 4.0.2 and trying to create a snapshot view of a jmx attribute so that I get relevant details when I click the snapshot link in the applet tree of jboss web-console. Presently the link is numb for my installation. I explored in the jboss-service.xml(inside default/conf

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Error while running Jboss:ERROR [org.jboss.mq.pm.jdbc2.Persi

2005-08-01 Thread gunjan_iitk
Hi, While running Jboss I am getting an error Starting failed jboss.mq:service=PersistenceManager javax.management.AttributeNotFoundException: not found: BindName Please see the error log below Starting failed jboss.mq:service=PersistenceManager javax.management.AttributeNotFoundException: not

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Class not found in HAR

2005-08-01 Thread artemis
There is the source of the problem if anyone is interested: Class files along with ...hbm.xml files have to be JARed, insted of expanded within the .HAR file. A similar bug has been known but this one must be new. View the original post :

[JBoss-user] [Installation, Configuration Deployment] - unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-01 Thread tterm
Hello, I tried to deploy the EJB3Trail.ear and my own ear archive as well but I get always the same error message: 15:56:34,185 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- [EMAIL PROTECTED] {

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ Login Module Configuration

2005-08-01 Thread Denisius
I modified only login-config.xml by replacing existing application-policy with name=jbossmq to: application-policy name = jbossmq login-module code = org.jboss.security.auth.spi.UsersRolesLoginModule flag = required module-option

[JBoss-user] [Beginners Corner] - Creating Jboss xml with Jdeveloper 10.1.2

2005-08-01 Thread Abriah
Hello: I want to create the Jboss ejb descriptors from within Jdeveloper 10.1.2, I see that Jdev can create descriptors for Orion weblogic and OC4j. When using the CPM Entity Beans Wizard Jdev asks for the persistence Manager but Jboss is not among them how can I add it? Can somebody give me

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Problem with SwiftMQ integration

2005-08-01 Thread [EMAIL PROTECTED]
iit wrote : | I guess you are wrong, Adrian. You might check the examples for the JCA 1.5 spec, section 12.7: | I am not wrong, since the examples are non-normative. I guess we will have kludge our way around it, not because of the examples, but because of the standard properties mentioned

[JBoss-user] [JBossWS] - Re: Deserializing parameter error

2005-08-01 Thread Jaec95
Hi, I have exactly the same problem as you, anybody how help us?? Thanks in advance. JAEC View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887734#3887734 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887734

[JBoss-user] [EJB/JBoss] - Cannot deploy ear containing wlclient.jar

2005-08-01 Thread dmcdonald
We have an application that makes remote EJB calls to a WebLogic 8.1 server. The wlclient.jar for WebLogic is contained in the ear and is referenced through the class path entry in the manifest file for the EJB jar. This application works perfectly in WebSphere 5.1, but when we try to deploy

[JBoss-user] [Beginners Corner] - jndi problem with 4.0.3rc1 and EJB3

2005-08-01 Thread aberezin
I have been playing around with EJB on 4.0.1SP1 and just moved to 4.0.3rc1. I added the persistance.xml in place of the hibernate.properties. I have a very simple test with one Entity and one stateless Session. Everything is running in a single VM. No changes to default configuration were

[JBoss-user] [Security JAAS/JBoss] - Re: How to use my own Principal class?

2005-08-01 Thread alxll
tcherel wrote : This is definitely the way to make it work to get the custom principal in the session code, but I did not think that this was also working for the web container. | Which JBoss version are you using? | | Thomas I'm using JBoss AS 4.0.2 View the original post :

[JBoss-user] [JBossWS] - Re: could not find deserializer for type

2005-08-01 Thread raygeeknyc
[EMAIL PROTECTED] wrote : You could read the wiki on DII clients. | | http://wiki.jboss.org/wiki/Wiki.jsp?page=WSClientDII Thomas I am struggling with this same issue; I think that full source of the classes that are excerpted in the Wiki page would go a long way to helping. (to provide

[JBoss-user] [JNDI/Naming/Network] - Re: communication Exception

2005-08-01 Thread abitha
Thanks for the reply. When I try with localhost it works perfectly. I intentionally put in bocalhost, because I want to capture the exception. There is no machine called bocal host and my debug log shows the naming exception being thrown - but not from my code even though I am catching it.

[JBoss-user] [Beginners Corner] - Download lomboz21_02

2005-08-01 Thread jbossM3
Hello All! I am a newbie and would like to know where to down load this zip file. Please help! Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887741#3887741 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887741

[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss-4.0.2 + Redhat linuc installation problem

2005-08-01 Thread boussic
Hi, gcj in the target of symbolic link java in your $PATH . you have to install new jdk and update symbolics link in /usr/bin, like: ln -s /usr/java/jdk/bin/java /usr/bin best regards. cedric View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887745#3887745

[JBoss-user] [JNDI/Naming/Network] - Co-located HA JNDI and EJB Clients

2005-08-01 Thread skand
I have been having some trouble with the HA JNDI configuration. I did get it to work, but I am hoping to find a better way to do what I need. I believe I am missing something pretty basic and simple, but I have failed miserably to find any documented hints in this regard. Hence, this post. My

[JBoss-user] [Security JAAS/JBoss] - Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
Well I'm working on this small test app: Basically I have a secured SessionBean I'd like to call. Now I have my Servlet setup to have lc = new LoginContext(d,new UsernamePasswordHandler(u,p.toCharArray())); after that I do something like: TestUtil.getLocalHome().create(); I get a

[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
Ohh forgot: I'm using 4.0.2+jbas-1875-patch kindest regards, Moritz Angermann View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887750#3887750 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887750

[JBoss-user] [Beginners Corner] - Re: jndi problem with 4.0.3rc1 and EJB3

2005-08-01 Thread aberezin
OK, Im an idiot. I had some jars in my classpath that were contaminating classpath (older jta stuff). However, I am stull getting errors. I can now do a lookup and get a $Proxy object that appears (looking at the debugger) to proxy the PersonSession class but I get a classCastException when

[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn - TreeCacheSSOClusterManager fails

2005-08-01 Thread bstansberry
I think there was a problem with how TreeCacheSSOClusterManager was finding the JMX server -- I'm expecting your command line switch caused another JMX server to start and TreeCacheSSOClusterManager was finding that (sorry -- at work now and can't confirm). Last night I committed a patch to

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-08-01 Thread aberezin
I am seeing a similar problem. If you get an answer, please let me know at [EMAIL PROTECTED] If I find out, Ill post the answer here. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887753#3887753 Reply to the post :

[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn - TreeCacheSSOClusterManager fails

2005-08-01 Thread [EMAIL PROTECTED]
The -Dcom.sun.management.jmxremote does cause a second MBeanServer to be created so unless you are querying the for the jboss specific one you may be getting the jdk platform MBeanServer which will have no jboss mbeans registered. View the original post :

[JBoss-user] [Beginners Corner] - Re: jndi problem with 4.0.3rc1 and EJB3

2005-08-01 Thread aberezin
This ClassCastException problem was expained in http://www.jboss.com/index.html?module=bbop=viewtopict=66651 You cannot have the interface classes in the webapp classpath. However, I am trying to run the whole thing in one VM under eclipse so I had to play around with separate trees for the

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-08-01 Thread aberezin
See http://www.jboss.com/index.html?module=bbop=viewtopict=67287 for my solution. Instead of packaging an EAR, I got it all running out of eclipse using 2 source (and build) paths. This keeps the interfaces out of the web-inf/classes path. View the original post :

[JBoss-user] [Messaging, JMS JBossMQ] - Queue location in JNDI tree

2005-08-01 Thread malmit
Curious question can a queue be created and placed in branch other than queue or in a sub branch of queue? For example if I had a destination named TestQueue, could the queue be created under customqueue/TestQueue or queue/jms/TestQueue? Thanks. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Local EJB Lookup Error

2005-08-01 Thread jcorbin4607
I wanted to follow up with more information The test case I am running is inside a main function. Does this mean it is truly running in its own JVM? If so, that would explain my errors. I still would appreciate some feedback. J.D. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: communication Exception

2005-08-01 Thread jcorbin4607
Okay, I wondered if that was intentional or just a typo. :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887773#3887773 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887773

[JBoss-user] [Installation, Configuration Deployment] - Re: unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-01 Thread tterm
Hello folks, I solved the problem by myself. The ear deployer is missing what means that the EARDeployer MBean is not registered so you can deploy no ear archives. There should be an ear-deployer.xml file in the deploy folder. Not sure if it is a bug or deliberate. Thanks to the JBoss

[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread tcherel
There are tons of threads on this subject in the forum. If you are doing you own JAAS login in your servlet code, you will need to make sure that ClientLoginModule is part of the JAAS configuration you are using (domain according to your code below) for the propagation to happen. But you also

[JBoss-user] [JBossWS] - support in wscompile for using a predefined schema

2005-08-01 Thread chaseja
When running wscompile and going from Java to WSDL, is there any wscompile support for recognizing/utilizing existing schemas when generating artifacts, without creating everything from scratch? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887776#3887776

[JBoss-user] [Clustering/JBoss] - Failover problem

2005-08-01 Thread vignesh76
Hi, We have two clustered JBoss instances in cluster configuration containing clustered SLSBs. Web applications deployed in a third JBoss instance access these clustered SLSBs. I was testing failover by stopping the current active clustered instance and each time testing the functionality of

[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
Thanks for the answer Tomas. Well I tried to look it all up running google queries all over the place... hmm... What I wanted was: #1 login #2 call methods #3 logout so the natural way seemd to use the JAAS login when the user arrivs and logging him out once he goes. The thing i wanted to

[JBoss-user] [Installation, Configuration Deployment] - rewriterule in jboss

2005-08-01 Thread asif_technical
Hi , I done rewritecondition and rewriterule in APAche[httpd.conf] and Tomacat. Presently i am using JBoss.How Can I use Rewriterule in Jboss. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887786#3887786 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread tcherel
Basically, your servlet is a client to your EJBs. With JBoss, if a client is doing an explicit JAAS login, the established security context is propagated to the backend EJBs only if you have the JBoss ClientLoginModule as part of your JAAS configuration. I am assuming that you edited the

[JBoss-user] [JBoss Portal] - Interceptor

2005-08-01 Thread patrickdalla
How do I create an Interceptor? Where do I configure an interceptor? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887788#3887788 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887788

[JBoss-user] [JBoss Portal] - Re: Interceptor

2005-08-01 Thread [EMAIL PROTECTED]
we have 2 kinds of interceptors so far in jboss portal, server scoped and component scoped. in 2.0 both of them use the same based interface, in 2.2 they have each a specific subclass. you create your own by inheriting the base class of interface and you specify them in an xml file in conf

[JBoss-user] [EJB/JBoss] - distributed transactions -- are they or are they not support

2005-08-01 Thread Gregg_Saffell
I've read many postings suggesting JBoss 4 has a full distributed transaction manager which I take to mean a TM that provides for transactions that span multiple JVMs. The JBoss 4.x documentation does not support this. It makes reference only to the fast in-memory TM that does not propagate

[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
That you Very much. I'm writing a blog system (just for fun and learning). So I'll have my dispatch servlet wich will do all requests. that need autorithation. and care for login only in case the required actions need auth. Btw: is there a way I can ship my login-config with my ear? or do I have

[JBoss-user] [Clustering/JBoss] - Re: Failover problem

2005-08-01 Thread [EMAIL PROTECTED]
If you keep having this probelm, you can open up a Jira issue under JBossAS/clustering component. Please attach your test case as well. Thanks, -Bem View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887797#3887797 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread tcherel
For the login config, take a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig. The JBossSX Wiki pages are actually a good JBoss security resource for documentation. Not sure I understand the second question. I am not Entity bean expert but Iw ill be surprised that you can

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread [EMAIL PROTECTED]
Ask yourself, how many of those links are from the actual JBoss site? And while you are at it, ask yourself what the JBoss site actually says: http://www.jboss.org/wiki/Wiki.jsp?page=JBossJTS You can be J2EE certified without supporting JTS. EJB-2.1 Section 19.6.2: Interoperability The

[JBoss-user] [Installation, Configuration Deployment] - JBoss temporary directories

2005-08-01 Thread jhart-ppcn
First of, let me say sorry if I botch any of the terminology here. I'm having a problem relating to permissions of the JBOSS_HOME and subsequent subdirectories. Previously, the entire JBOSS_HOME was owned by user foo:foo and that was the user that ran JBoss. I've since changed this and only

[JBoss-user] [Installation, Configuration Deployment] - Re: unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-01 Thread darranl
How did you install JBoss? Did you use the installer or did you just unzip a distribution? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887802#3887802 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887802

[JBoss-user] [JNDI/Naming/Network] - Re: Local EJB Lookup Error

2005-08-01 Thread darranl
jcorbin4607 wrote : | The test case I am running is inside a main function. Does this mean it is truly running in its own JVM? It depends on how the main method is being called. Also how is the InitialContext obtained? View the original post :

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread Gregg_Saffell
Thanks for the quick reply. Having a definitive answer means more than you know. The postings regarding tyrex seem to suggest that it was included/recommended at some point in JBoss's history but was subsequently removed/deprecated. The postings regarding JOTM seem to suggest that it is the

[JBoss-user] [Clustering/JBoss] - Re: Failover problem

2005-08-01 Thread darranl
Does your web application cache the interfaces that are being used or do you perform the lookups each time? As part of your testing did you make sure at least one of the nodes was up all the time so when each node is started it can join the original cluster or at some points were all of the

[JBoss-user] [JBossWS] - OperationDesc for myMethod was not synchronized to a method.

2005-08-01 Thread sudkampf
I am creating a web service to send alert messages by email and after following the documentation I found at http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch12.html I am still getting an error as follows: anonymous wrote : java.lang.Exception: The OperationDesc for sendAlert was not

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread [EMAIL PROTECTED]
Tyrex is broken and does not do transaction recovery. Even the original coder said NOT to use it in production. Although you can still find the code in the cvs archive, I doubt it even compiles. JOTM is based upon HOWL of which most people I've spoken to have a low opinion. I know of posts

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread Gregg_Saffell
If we go for it, I'll be sure to post the results--good, bad, or inconclusive. Thank you very much both for the reply and for the application server. Gregg View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887810#3887810 Reply to the post :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Mapping

2005-08-01 Thread artemis
Build .har, and deployed. This is my hbm.xml file. ?xml version=1.0 encoding=UTF-8? !DOCTYPE hibernate-mapping PUBLIC =//Hinernate Mapping DTD 3.0//EN http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd; hibernate-mapping package=com.ssi.listener.bean

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread [EMAIL PROTECTED]
Gregg_Saffell wrote : I need distributed transaction It is very seldom you actually need DTM (rather than just XA). It usually points to bad design and nearly always leads to poor performance. Besides being a pain to manage. The only reason we are implementing JTS for JBoss is because people

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-08-01 Thread darranl
Can you post your deployment descriptors wrapped with [ code ][ / code ] tags without the spaces and use the preview button. Can you also execute the command 'jar -tf harname.har' and post the output here. What messages are displayed when you deploy the har? View the original post :

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread Gregg_Saffell
That it only points to bad design has been posted before and isn't true. We have a distributed application that requires a record to be stored both locally and at a remote site. The redundant storage of the record allows both sites to do their thing even when they can't communicate. Should the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-08-01 Thread artemis
Here is what I see when I deploy the .har file: 15:34:51,203 INFO [Hibernate] Using JDBC batch size : null 15:34:51,203 INFO [Configuration] Searching for mapping documents in jar: listenerHAR.har 15:34:51,203 INFO [Configuration] processing extends queue 15:34:51,203 INFO [Configuration]

[JBoss-user] [Clustering/JBoss] - Re: clustering problems - nodes fail to cluster

2005-08-01 Thread spambob
Turns out the problem was a switch issue. What made this especially hard to figure out is that org.jgroups.demos.ViewDemo shows the machines clustering correctly. Fortunately, org.jgroups.tests.McastReceiverTest and org.jgroups.tests.McastSenderTest failed, which led me to investigate the

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread [EMAIL PROTECTED]
Gregg_Saffell wrote : That it only points to bad design has been posted before and isn't true. We have a distributed application that requires a record to be stored both locally and at a remote site. The redundant storage of the record allows both sites to do their thing even when they can't

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread Gregg_Saffell
I'll take that as a no. Have a nice day. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887820#3887820 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887820 --- SF.Net

[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
Thanks again Tomas. And sorry to bug you once more :/ well I now got the DynamicLoginConfig setup and my login-confix.xml too. login-config.xml ?xml version='1.0'? | !DOCTYPE policy PUBLIC | -//JBoss//DTD JBOSS Security Config 3.0//EN |

[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
WH! It worked! wow. that was tough ;) thanks a ton Tomas. was my mistake a spelling error in the jboss.xml kindest regards, Moritz Angermann View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887824#3887824 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: Interceptor

2005-08-01 Thread yxyang
But I found that there are three files for interceptors. ./core/src/resources/portal-core-sar/conf/jboss-container.xml ./core/src/resources/portal-core-sar/conf/standardjboss-page.xml ./core/src/resources/portal-core-sar/conf/standardjboss-portlet.xml Does it mean both standardjboss-page.xml and

[JBoss-user] [JBoss Getting Started Documentation] - the incomplete documentation

2005-08-01 Thread benzhang0001
I find the following documentation is one of them that you read it and you could not test it -- useless: http://docs.jboss.org/ejb3/tutorial/stateless/stateless.html My question is that: 1): the Calculator class refer @Stateless from javax.ejb.Stateless. I checked jboss-j2ee.jar, there is no

[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn - TreeCacheSSOClusterManager fails

2005-08-01 Thread bstansberry
I was able to reproduce the problem by setting the -Dcom.sun.management.jmxremote parameter, and confirmed that the patch I committed last night fixes the problem (by finding the JMX server by calling MBeanServerLocator.locateJBoss() instead of just locate()). So, this issue is fixed in CVS.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Exception: CMR field value is already loaded

2005-08-01 Thread blackandwhite
Thanks Ulf. I will upgrade to JBoss 3.2.7 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887849#3887849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887849 --- SF.Net

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: A CMR collection may only be used within the transction

2005-08-01 Thread blackandwhite
Thanks Ulf. I will upgrade to JBoss 3.2.7 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887851#3887851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887851 --- SF.Net