[JBoss-user] [Security & JAAS/JBoss] - Startup login problem

2005-03-11 Thread kbogert
Hello all, I am trying to use a ServletContextListener to start an ejb timed object when I deploy the application. The timed object will run nightly maintenance within the application, and needs to be initialized only once. When the listener starts, I get a Password Incorrect exception. Howe

[JBoss-user] [EJB/JBoss] - Re: Stateless Session Bean versus static method calls

2005-03-11 Thread flindet
Okay, I did manage to find one thread discussing a similar topic. The original poster basically had the same question. There's good conversation here explaining that the singleton or static class approach IS a good idea. http://forum.java.sun.com/thread.jspa?threadID=555658&tstart=255 However

[JBoss-user] [Clustering/JBoss] - Re: JBOSS 4.0.1sp1 clustering on gentoo 2004.3

2005-03-11 Thread [EMAIL PROTECTED]
My suggestion is to make sure JGroups work first. You can go to www.jgroups.org to check out the troubleshooting section. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869862#3869862 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Clustering/JBoss] - Re: Clustering for POJOs

2005-03-11 Thread [EMAIL PROTECTED]
Sounds like to me JBossCache is what you need (coupled with a SLSB for load balancing, e.g.). :-) -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869860#3869860 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=386986

[JBoss-user] [EJB/JBoss] - Stateless Session Bean versus static method calls

2005-03-11 Thread flindet
Hi, I have managed to get myself confused over when to use Stateless Session Beans versus just making calls to static methods. I know there's lots of documentation about when to use Session Beans, but I haven't found anything discussing this particular comparison. I'm hoping someone can help

[JBoss-user] [Persistence & CMP/JBoss] - ValueObject, Serializable, EnitiryBean

2005-03-11 Thread dtn70437
Hi, im using the auto-increment function in an entity bean for the primary key. On https://www.coredevelopers.net/library/jboss/cmp/keys.jsp i was told to use java.lang.object as the class for the PK. Here is my xdoclet code: | /** | * @ejb.bean name="Kunde" display-name="Name for KundeBea

[JBoss-user] [Clustering/JBoss] - Data transfer between streams in a cluster.

2005-03-11 Thread abitha
Hi all. I am still in the beginning stages of my investigation, and would really like your input... We have a servlet that reads from an input stream and writes to a output stream. The data comes in byte by byte, and the servlet transfers the data. Now the issue is - in a cluster, what if the i

[JBoss-user] [Beginners Corner] - Error launching a command line Client

2005-03-11 Thread Newj2ee
I developed a simple EJB, and I can execute a client from eclipse, tryin "run as aplication" but when I try to run it from a command line client I have this error: Exception in thread "main" java.lang.NoClassDefFoundError: cliente (wrong name: calculadora/ejb/Cliente) at java.lang.Class

[JBoss-user] [Clustering/JBoss] - Re: Clustering for POJOs

2005-03-11 Thread abitha
To give some more info, I have this cache class which contains a hashmap that the client can talk to and pickup whatever is assigned to it (based on the key value). What I would really like to do is to share this cache among the entire cluster, such that no matter which app server instance the r

[JBoss-user] [Clustering/JBoss] - Re: Clustering for POJOs

2005-03-11 Thread abitha
I have some state - but it is not necessarily related to the session. Basically there is a hashmap that contains lot of information about different clients, but any client can have access to it. So, can I make this into a stateless session bean? If so, will I lose my hashmap contents during a f

[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null

2005-03-11 Thread milkygto
what would be the best practice for using JAAS model in web application? If I don't want to use j_security_check in the jsp form for user to log in, and I wouldn't want to save the username and password in session to do the authentication everytime, can anyone point me to the right direction?

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: There is no database failover capability in JMS Persiste

2005-03-11 Thread [EMAIL PROTECTED]
This properly belongs in the jdbc driver/database layer. There is a feature request to add a simple version of this feature to JBoss's jdbc rar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869842#3869842 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS HASinglton Failover configuration

2005-03-11 Thread [EMAIL PROTECTED]
Use a HAJNDI config that better matches your setup rather than using ports, use udp discovery, e.g. | |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory |java.naming.factory.url.pkgs=org.jnp.interfaces |jnp.partitionName=DefaultPartition |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS disconnects when w32time service runs

2005-03-11 Thread [EMAIL PROTECTED]
Windows is stupid. It bases the socket timeouts on the system clock rather than cpu ticks or something more reliable. If your clock jumps forwards it thinks it timed out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869840#3869840 Reply to the post : http:/

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Authentication and JAAS

2005-03-11 Thread [EMAIL PROTECTED]
Client JMS does not use JAAS. It is a TODO in the spec for a future version. The JMS Resource Adapter deployed within JBoss will use JAAS because it is wrapped with a JCA connection manager that understands it. The only portable solution is to write your own JMS wrapper that understands JAAS and

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.il.oil.OILServerILService] Connection failu

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869839#3869839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869839 --- SF email is sponsored by - The

[JBoss-user] [Security & JAAS/JBoss] - Re: Is JBoss JAAS LDAP suitable for a large enterprise ?

2005-03-11 Thread [EMAIL PROTECTED]
The current LdapLoginModule has a simple schema that in general does not map to enterprise schemas. There is a jira task to generalize it to be more flexible: http://jira.jboss.com/jira/browse/JBAS-1525 If you have patches that achieve this add them to that task. View the original post : http

[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread nickman
Julien; Your jboss.xml should have an entry that looks something like this: Clustered Stateless SessionBean The Clustered Stateless SessionBean is one of the container configurations in the conf/standardjboss.xml. Also, are you sure you are running the all server configuration ? //Nicholas

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS authentication using a MySQL database ?

2005-03-11 Thread [EMAIL PROTECTED]
See the jndi section in the admin/devel guide. You need to use the jboss-web.xml/jboss.xml descriptors to map the j2ee deployment descriptor reference to a jndi name. http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869835#38698

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Connection not authorized to addMessages to destination:

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: READ THIS FIRST And you might be interested in TRACEing org.jboss.security? Showing the output from those two queries would also be a good idea, so we can see it rather than trusting your assertions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ user/passwd login

2005-03-11 Thread [EMAIL PROTECTED]
Try going through the JAAS howto examples first. See the first posting in this forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869833#3869833 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869833 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Duplicate messages

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Test it with an up-to-date version before reporting bugs. My guess is this is OIL, which we don't even use anymore. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869832#3869832 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 3.2->4.0 : user creation by StateManager service not pos

2005-03-11 Thread [EMAIL PROTECTED]
There is an open task to implement this feature for the jdbc state manager: http://jira.jboss.com/jira/browse/JBAS-1346 The old file sm is still available, lookin docs/examples/jms View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869831#3869831 Reply to the pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jms over https: trustAnchors parameter must be non-empty

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Questions about SSL config belong in the security forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869830#3869830 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869830 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: pyJMSException: Cannot authenticate user (nested throwab

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869829#3869829 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869829 --- SF email is sponsored by - The

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Null Persitence manager with a Delegate

2005-03-11 Thread [EMAIL PROTECTED]
The example is wrong. It should be DelegatePM not DelegateName. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869828#3869828 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869828 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending message with delay

2005-03-11 Thread [EMAIL PROTECTED]
Moderated FAQ: scheduled delivery property View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869827#3869827 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869827 --- SF

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Basic Clustering/Load Balancing Question

2005-03-11 Thread [EMAIL PROTECTED]
Most likely it some OS configuration related to keep-alive config of tcp/ip sockets? Your 20 minutes is some kind of network (notwork :-) timeout View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869826#3869826 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0 JMS Cluster Support

2005-03-11 Thread [EMAIL PROTECTED]
For completeness, since nobody answered the load balancing policy question: http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQReceiverImpl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869825#3869825 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB performance

2005-03-11 Thread [EMAIL PROTECTED]
| DELETE FROM JMS_MESSAGES WHERE TXID=1410 AND TXOP='D | which needs more than a minute to complete ! | So the query is not supported by a db index? Talk to your DBA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869823#3869823 Reply to the post :

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Not able to receive JMS Messages.

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Newbies should try the examples in the getting started guide. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869822#3869822 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869822 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Durable Subscription authentication error

2005-03-11 Thread [EMAIL PROTECTED]
No, you modify the security config on the topic such that is allows one of the roles assigned to the user. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869821#3869821 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote ConnectionFactory/Queue reconnection

2005-03-11 Thread [EMAIL PROTECTED]
JBoss's JMS Resource Adapter already implements the ExecptionListener for you. But it does not work in some versions, because some developers didn't understand how it interacts with the pool and broke the code. There is now a comment in the code, to stop people breaking it: | // If we

[JBoss-user] [JCA/JBoss] - Re: xml file for configuring connection pool

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Read the documentation (including the getting started guide) before posting frivilous questions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869818#3869818 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=386

[JBoss-user] [Beginners Corner] - Re: Can a text file be used as a resource?

2005-03-11 Thread jma24
Well, thanks anyway. If I include the text files in the jar, that makes them available at the context level. So I can access them with a URL. Still curious about whether the only thing you can define as a resource is some sort of data source... View the original post : http://www.jboss.org/ind

[JBoss-user] [JCA/JBoss] - Re: what does idle-timeout-minutes mean?

2005-03-11 Thread [EMAIL PROTECTED]
If the application does not close the connection and jboss has not been told to keep track of unclosed connections (i.e. jboss closes it for the application when it is buggy), the connection is treated as still in use. View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [JCA/JBoss] - Re: IMS Connection Factory

2005-03-11 Thread [EMAIL PROTECTED]
anonymous wrote : | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: | ObjectName: jboss.jca:name=imsico.rar,service=RARDeployment | state: NOTYETINSTALLED | The rar is not deployed View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869815#3869815 Reply

[JBoss-user] How unsubscribe ..

2005-03-11 Thread Girish Patil
<>

[JBoss-user] [JCA/JBoss] - Re: JDBC + CMP working different in HSQLDB and Oracle8 in JB

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: CMP question -> CMP forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869814#3869814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869814 --- SF emai

[JBoss-user] [JCA/JBoss] - Re: NestedSQLException: Apparently wrong driver class specif

2005-03-11 Thread [EMAIL PROTECTED]
It means the driver-class/url are incompatible. I've also seen this problem when there is an internal problem within the driver, e.g. classes missing or other bizarre internal error. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869813#3869813 Reply to the p

[JBoss-user] [Security & JAAS/JBoss] - Re: RMI + SSL

2005-03-11 Thread [EMAIL PROTECTED]
Check the admin guide: http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869812#3869812 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869812 -

[JBoss-user] [Security & JAAS/JBoss] - Re: Preventing Execution of Malicious Java Code inside the c

2005-03-11 Thread [EMAIL PROTECTED]
You can only enforce that which can be validated using a security manager and permission check. Java does not have sufficient notion of thread resources or permission checks that would allow you to stop a thread that exceeds some cpu usage or memory usage threshold. View the original post : h

[JBoss-user] [Clustering/JBoss] - JBOSS 4.0.1sp1 clustering on gentoo 2004.3

2005-03-11 Thread FunkyHippy
I am attempting to install and configure some gentoo server for running jboss (the reason i went with gentoo is that we need only jboss and some remote access ssh,webmin,etc) i run into a problem. Jboss starts ok (starting "all" configuration as I want to cluster them) but I get an error with G

[JBoss-user] [JCA/JBoss] - Re: Is EJB read-only methods participating in transaction ?

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Ignored, CMP questions belong in the CMP forum not the JCA forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869809#3869809 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869809

[JBoss-user] [JCA/JBoss] - Re: JCA : JNDI in the work

2005-03-11 Thread [EMAIL PROTECTED]
Yes, but only global jndi, not java:comp For an MDB, you can get the MDB's java:comp environment by invoking MessageEndpoint.beforeDelivery() View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869808#3869808 Reply to the post : http://www.jboss.org/index.html?mo

[JBoss-user] [EJB/JBoss] - InstantiationException creating CMP entity bean from session

2005-03-11 Thread mburbidg
I've built a very simple CMP entity bean called StatisticsBean. It has two fields name and value. They are both of type java.lang.String and the name field is the primary key. I'm using xdoclet to generate the related files from the bean. The bean deploys without warnings or errors. From my sess

[JBoss-user] [JCA/JBoss] - Re: JCA : How to call getWorkManager method

2005-03-11 Thread [EMAIL PROTECTED]
I think you guys need to understand that this is the JBossJCA forum, where is your *JBOSS* issue? It is not the I don't understand (can't be bothered reading) the spec forum. Go fill up Sun's j2ee forums if you think the spec is unclear. This is the only time I'm going to answer this, so I'm goi

[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null

2005-03-11 Thread [EMAIL PROTECTED]
The problem is that this cannot work. The jaas login only affects the current calling thread for subsequent access to secured resources. It does not magically inform the web container that all sendRedirects should be trusted. This is impossible in general as its the web client that has to provid

[JBoss-user] (no subject)

2005-03-11 Thread Girish Patil
<>

[JBoss-user] [JCA/JBoss] - Re: MySQL database configuration

2005-03-11 Thread [EMAIL PROTECTED]
Moderated FAQ: The topic at the top this forum where I say will you stop posting questions about resource-refs in the JCA forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869804#3869804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [JCA/JBoss] - Re: BMT + nested transactions

2005-03-11 Thread [EMAIL PROTECTED]
What a mess. javax.transaction.Transaction is NOT a user api. It is intended for J2EE Server <-> TM integeration. If you are going to use it, make sure you read the spec. You certainly shouldn't be switching transaction mid ejb method, CMT already has this notion it is called RequiresNew. View

[JBoss-user] [JCA/JBoss] - Re: Oracle 10g / JBoss 4.0 / XA Config Problem

2005-03-11 Thread [EMAIL PROTECTED]
Moderated FAQ: - deploy the jdbc driver View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869801#3869801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869801 --- SF em

[JBoss-user] [JCA/JBoss] - Re: keep getting tx marked for rollback error

2005-03-11 Thread [EMAIL PROTECTED]
I can see a number of problems with your code 1) If by outside an EJB you mean a servlet you should use java:comp/UserTransaction (although in JBoss there is no difference it optimizes away the client transaction to the server user transaction) 2) Some of the status checking is wrong 3) The commi

[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread balteo
Thanks for your reply Nicholas, in the ejb jar: | | | | | | EJBTwo | EJBTwoHome_L | EJBTwoHome_R | true | | | | | jboss service | | | | | | | | | | |

[JBoss-user] [Persistence & CMP/JBoss] - Re: What TX attribute to read for READ-ONLY operation?

2005-03-11 Thread aparaapara
Sorry, what I wanted to ask was "What TX attribute to set for READ-ONLY operation"? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869798#3869798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869798 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null

2005-03-11 Thread milkygto
| | | Username: | | | | Password: | | | |

[JBoss-user] [Persistence & CMP/JBoss] - What TX attribute to read for READ-ONLY operation?

2005-03-11 Thread aparaapara
Dear Members: I have an READ operation which returns Entity objects. This operation is currently marked with a TX of Required. In actuality I don't need a TX in this case, however, when I attempted to change TX to Supports/NotSupported I experienced a SELECT from the DB for every getXXX opera

[JBoss-user] [Installation & Configuration] - jgroups.protocols.UDP

2005-03-11 Thread aoggi
Hello everyone, I am using jboss 4.0.0, i am seeing the follwoing message almost every 3 milli seconds, can some one tell me what is the problem and how to supress this.. help Plz.. Thanks Anil Mar-11-2005 14:39:33 ERROR jgroups.protocols.UDP handleIncomingUdpPacket.691 - exception=java.lang

[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null

2005-03-11 Thread milkygto
I got it to work. Instead using my servlet to login, i use Username: Password:

[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread nickman
Julien; Can you post your EJB descriptors ? //Nicholas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869791#3869791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869791

[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread balteo
Hello Nicholas, Still get the same behavior with the following: | <%@ page import ="javax.ejb.*" %> | <%@ page import ="javax.naming.*" %> | <%@ page import ="java.util.*" %> | <%@ page import ="java.rmi.*" %> | <%@ page import ="com.mycompany.*" %> | | |

[JBoss-user] [HTTPD, Servlets & JSP] - Invalidating all http sessions through the jmx console

2005-03-11 Thread balteo
Hello, Is it possible to invalidate all http session through the jmx console? If so what do I look for? Thanks in advance, Julien. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869789#3869789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Security & JAAS/JBoss] - Prinicpal = null

2005-03-11 Thread milkygto
Can anyone point out what is the problem here? I followed the jaashowto, but I still can't get the principal to work. After I do the loginContext.login(), my user and role are set. If I do a forward(), I can get to the restricted resources. But if I do a request.sendRedirect, I will lost all the

[JBoss-user] [Installation & Configuration] - Re: run jboss as a service for 'all' server configuration on

2005-03-11 Thread aalberini
Hi: Can you tell me how to obtain the file /etc/inet.d/functions for run Jboss as a service? Thanks. Alejandro View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869787#3869787 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [JCA/JBoss] - keep getting tx marked for rollback error

2005-03-11 Thread berkgypsy
I am using jboss4.0.1 with hibernate, and I created my own HibernateUtil class to manage the sessions and transactions (outside any EJBs). I've posted the code below. However sometimes when committing a random transaction I get this: Caused by: javax.transaction.RollbackException: Already mark

[JBoss-user] [Management, JMX/JBoss] - Re: Does JBoss 4.0.x support JSR-160 (JMX Remote API).

2005-03-11 Thread qdotlu
Is there a road map for the support of JMX Remote API? Thanks, "[EMAIL PROTECTED]" wrote : We don't fully suppor jsr160 yet, but Tom Elrod from the JBossRemoting project is working on this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869782#3869782 Reply

[JBoss-user] [EJB/JBoss] - Error compiling EJB-QL statement -- Jboss 4.0.0

2005-03-11 Thread aoggi
Hi Guys, I am using jboss 4.0.0, trying to deploy entity bean. I am getting following error for EJB-QL. I have tried modifying the EJB-QL little bit, Finally i got to a point that if i remove "'F' = ?2" this kind of check in the EJB-QL it is getting deployed. Can some one help me to make the be

[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Excellent! I am all over it like spilt coffee! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869776#3869776 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869776 -

[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread [EMAIL PROTECTED]
You should wrap it as an MBean, as it is an extension to the server itself. There's examples on how to write MBeans and deploy them on JBoss at docs.jboss.org. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869774#3869774 Reply to the post : http://www.jbo

[JBoss-user] [EJB/JBoss] - Re: Reloading stateless session beans programmatically in JB

2005-03-11 Thread jamesstrachan
There isn't a good way to reload stateless Session Beans, and there isn't meant to be. Suggestions :- a)Move the read only data from the Session Beans to a singleton Java class within the application Server. Reload data in the Singleton either when a timestamp expires or by touching the s

[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Thanks Juha. I will look at that. I need to review my networking. What I don't understand is what type of object (bean I guess) I need to create for such a service. All of the examples show how to build J2EE Session and Entity Beans. Would I wrap the TCP connection into a J2EE session bean?

[JBoss-user] [Installation & Configuration] - URLComparator and Filter config in jboss-service.xml

2005-03-11 Thread balteo
Hello, I am wondering how to disable hot deployment for *.zip files using URLComparator or Filter. Can anyone please give me a sample code to put into the jboss-service.xml? Thanks in advance, Julien. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869770#3869

[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread [EMAIL PROTECTED]
Trail: Custom Networking View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869769#3869769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869769 --- SF email is sponsor

[JBoss-user] [JCA/JBoss] - Oracle 10g / JBoss 4.0 / XA Config Problem

2005-03-11 Thread alg007
Hi all, I need help to make Oracle 10g and JBoss 4.0 working together. In fact when I configure an XA datasource to work with distributed transaction I receive these error: "java.lang.ClassNotFoundException: No ClassLoaders found for: oracle.jdbc.xa.OracleXAException". I have followed the r

[JBoss-user] [Beginners Corner] - Can a text file be used as a resource?

2005-03-11 Thread jma24
Short question: what types of resources can you define using a a tag? All the examples I see are SQL examples, where someone defines a datasource used as a reference. I want a text file to be used by a web application that uses EJB's, but I can't find any examples of how to do that. More detai

[JBoss-user] [Installation & Configuration] - Oracle 10g / JBoss 4.0 / XA Config Problem

2005-03-11 Thread alg007
Hi all, I need help to make Oracle 10g and JBoss 4.0 working together. In fact when I configure an XA datasource to work with distributed transaction I receive these error: "java.lang.ClassNotFoundException: No ClassLoaders found for: oracle.jdbc.xa.OracleXAException". I have followed the reco

[JBoss-user] [Beginners Corner] - Oracle 10g / JBoss 4.0 /

2005-03-11 Thread alg007
Hi all, I need help to make Oracle 10g and JBoss 4.0 working together. In fact when I configure an XA datasource to work with distributed transaction I receive these error: "java.lang.ClassNotFoundException: No ClassLoaders found for: oracle.jdbc.xa.OracleXAException". I have followed the reco

[JBoss-user] [Clustering/JBoss] - Re: Clustering for POJOs

2005-03-11 Thread [EMAIL PROTECTED]
It really depends if you have state in your POJO. If not, SLSB is great for load balancing. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869764#3869764 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869764 --

[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
BTW, I am going to use this as a front end for a realtime box. There is no database. I need security, naming. I will probably be controlling a C program if I can. I need a long lived connection on TCP. I will be doing streaming out of a UDP. I know this is outside of the normal for JBoss

[JBoss-user] [Beginners Corner] - Re: redeploying production app

2005-03-11 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=MakeSureRequestsBeingProcessedAreNotImpactedByHotDeployments View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869757#3869757 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869757

[JBoss-user] [Installation & Configuration] - Re: Lookup WebSphere EJBs in a JBoss EJB client

2005-03-11 Thread RAPHEAD
Hi, same problem here. Did you solve it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869756#3869756 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869756 --- SF e

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote ConnectionFactory/Queue reconnection

2005-03-11 Thread gquintana
I can not call connection.setExceptionListener() because the problem occurs before I get the connection. This what I do: Context context = new InitialContext(); | ConnectionFactory connectionFactory = context.lookup("java:/JMSExploitationXA"); | Queue queue = context.lookup("java:/external/R

[JBoss-user] [JBossWS] - 'error: the following naming conflicts occurred: xxx' issue

2005-03-11 Thread zeroman
What's the main reason for such error? 'wscompile' tool generates this error for the existed service - sforce.com. error: the following naming conflicts occurred: com.sforce.soap.enterprise.DescribeLayout_Type As I get it WSDL is not compatible with WS spec. Is it correct? I would not like to

[JBoss-user] [Beginners Corner] - J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Hey, I understand how to do a J2EE application. How do I do an old fashioned application (non-J2EE) with a Gui on a TCP port and another UDP stream hookup? Is there any tutorials for that type of server? Jim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Security & JAAS/JBoss] - Preventing Execution of Malicious Java Code inside the conta

2005-03-11 Thread arokde
Hi All I know this forum will not be appropriate one for this kind of question but still i will be really interested how jboss handles this kind of thing. We have product which is runing inside a servlet container (tomcat/jetty).This product allows the user to attach external java code which

[JBoss-user] [Beginners Corner] - Re: Missing message for key

2005-03-11 Thread [EMAIL PROTECTED]
I finally found out the problem. Everything is set correctly in struts-config.xml and my resource bundle, etc. The root cause is that I have several web modules in my ear file. Some of them have their own Struts jar files, ranging form 1.0 to 1.2, inside their war files. I also have Struts 1.2 j

[JBoss-user] [HTTPD, Servlets & JSP] - How to force deletion of compiled JSPs on redeploy?

2005-03-11 Thread molecularbear
Let's say that I've deployed foo.jsp and hit it in the web browser, causing it to be compiled. Now let's say that I change a method that foo.jsp calls, but do not changed foo.jsp itself. This can happen if the method being called looked like this: formatDate(java.sql.Date) And I change it to t

[JBoss-user] [JBossWS] - Re: JBossWS and C# Interoperability

2005-03-11 Thread jasong
FYI, Microsoft will incorporate rpc/literal in the 2.0 .NET framework release. It is currently available in 2.0 Beta 1, although I haven't had time to test it out. -Jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869741#3869741 Reply to the post : htt

[JBoss-user] [Installation & Configuration] - Re: configuration variables

2005-03-11 Thread trackingguy
I'm fighting with the same thing!! If you run from run.bat (on windows or I think it's run.sh for *nix), you can do something like this: run.bat --host 10.0.0.1 and substitute the appropriate IP address. If you want to run JBoss as a service, that is a little more tricky and we are trying to

[JBoss-user] [Installation & Configuration] - Re: setting up virtual host-VERY URGENT......

2005-03-11 Thread trackingguy
Can you have an index.jsp look at the hostname header and do a redirect based upon that? That's the most simple way I can think of View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869739#3869739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread nickman
Balteo; I assume you are using round robin. Your JSP always retrieves a new Home and creates a new remote. Doing this will always give you the same member of the cluster. Try caching the emote in your session and you should see the EJB be invoked on alternating members of the cluster. //Nichol

[JBoss-user] [Beginners Corner] - Re: converting weblogic-ejb-jar.xml to equivalent jboss.xml

2005-03-11 Thread srikanth_uindia
Hi chitrasrivats, I have got the same issue, steps to follow in migrating a j2ee application from weblogic to jboss. If you have got hold of some information and resources on this issue, could you please mail them to me. I would be extremely grateful to you for your favor. My email is [EMAIL P

[JBoss-user] [Beginners Corner] - JBoss class load order/application class dependancy question

2005-03-11 Thread bkyrlach
I apologize in advance if this is in the wrong place. I have a question about the order in which JBoss loads classes in the class path, and whether or not there is a way to force JBoss to load web-application classes first, and/or keep each web applications classes seperate from eachother/JBoss

[JBoss-user] [Installation & Configuration] - configuration variables

2005-03-11 Thread albert_steed
Hello, I see in some xml file the following variable: ${jboss.bind.address} My question is where and how such variables are defined? Can anyone tell me? Albert Steed View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869732#3869732 Reply to the post : http://www

[JBoss-user] [JBossWS] - Re: Mapping between SOAP faults and service exceptions

2005-03-11 Thread omatzura
Hi! The type-mapping was required to get this working.. Maybe because our ws was created from an existing wsdl using wscompile -import? /Ole View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869731#3869731 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Installation & Configuration] - cmp using mysql 4.0 and jboss 4.0.1 problems

2005-03-11 Thread taz_is_dave
I am currently using mysql 4.0 and jboss 4.0.1. I'm trying to use cmp beans but having problems with the deployment. I've copied the msql-ds.xml file into the deploy directory and successfully got the jbosscmp-jdbc.xml file in the jar. all looks good until I try and access the database via

[JBoss-user] [JBossWS] - Re: JBossWS and C# Interoperability

2005-03-11 Thread omatzura
Hi! I suggest you start by creating your wsdl "manually" so it conforms to .net, jbossws and basic-profile requirements, then validate the wsdl with .net (by importing it) and finally use wscompile -import to generate jbossws server stubs.. this has been our approach and it works "just fine" (a

[JBoss-user] [HTTPD, Servlets & JSP] - Re: getRemoteUser() not working in Apache/JBoss

2005-03-11 Thread erobles
I still have not found a solution :-( regards, Eulogio Robles View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869728#3869728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869728 -

[JBoss-user] [Management, JMX/JBoss] - Re: Browsing Remote MBeans - Some Missing!

2005-03-11 Thread burakbayramli
I just upgraded to 4.0.1sp1, still the same problem. Should I apply the workarounds mentioned in any case? Any other ideas would be appreciated as well. Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869727#3869727 Reply to the post : http://www.

[JBoss-user] [JBossWS] - JBossWS and C# Interoperability

2005-03-11 Thread ${bb.Guest}
Hi, I'm trying to expose a stateless session bean as a web service in order to access it via a C# client. The occuring problems are as follows: 1. I can't use RPC/literal SOAP messages since C# tells me during the WSDL file import that this style is not supported (ok, I know, this is not JBoss'

  1   2   >