[JBoss-user] [Beginners Corner] - Transaction Times?

2004-03-17 Thread pawanraj
Hi, The method scenario in main method is main() //Trans Attrib "Required" { methodB() - Transaction Attrib "Not Supported" } from what i understand, transaction for main() is suspended and B() runs. after B completes, transaction for main() resumes. My question is if transaction for main()

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Clustering (HAILConnectionFactory) Problem

2004-03-17 Thread vitrociset
I'm trying to use JMS Clustering in JBoss 3.2.3 with the HAILConnectionFactory. I'm able to send and receive message from within the Application Server, but from a remote Client I get the following exception: --- 1219 [main]

[JBoss-user] [Beginners Corner] - Re: InitialContext and Threads

2004-03-17 Thread darranl
What is wrong with reading the API? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826136#3826136";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826136>Reply to the post --- This SF.Net

[JBoss-user] [Installation & Configuration] - Re: XidFactory -- Repost

2004-03-17 Thread jj730105
For those of you who are having problems with JBoss 3.2.3... I would upgrade to the latest version of the JDK (I'm using 1.4.2_04) if you have that option. Despite the fact that on the download page it says the 3.2.3 is compatible back to JDK 1.3, I was not successful in getting JBoss to run un

[JBoss-user] [Beginners Corner] - InitialContext and Threads

2004-03-17 Thread chalupas
Can I use an instance of InitialContext in multithread environment, ie is initialContext.lookup(""); thead-safe? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826133#3826133";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826133>Reply

[JBoss-user] [Installation & Configuration] - Re: configure XA datasource with oracle 9i ...

2004-03-17 Thread daniel-
thank you Adrian!!! what i do really need is a XAResource, to enlist it in a transaction. but if i get a DataSource i dunno how to get the XAResource. i see no examples of how to do it. can you point me somewhere how to do that ??? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=382612

[JBoss-user] [Persistence & CMP/JBoss] - Re: Update on Find

2004-03-17 Thread loubyansky
Correct. It is fixed in 3.2.4. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826132#3826132";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826132>Reply to the post --- This SF.Net emai

[JBoss-user] [EJB/JBoss] - Problem acessing a SessionBean local interface from the web

2004-03-17 Thread luisfpg
I have an application where I cannot access the java:comp/env namespace (I get a comp not bound exception). Can someone help? The files are on an EAR containing the web module and the ejb module. I have the following deployment descriptors: | web.xml | -- | ... (All the rest) ...

[JBoss-user] [Security & JAAS/JBoss] - Problem with password using LdapLoginModule

2004-03-17 Thread karipulkka
Hi, I have the following problem: the LdapLoginModule seems to ignore the case of the password the user inputs, eg. it does not differentiate Foo <--> foo. Passwords that are not correct (eg. fee) and empty password fail as expected. Here are my confs: web.xml: ... Test Protected

[JBoss-user] [JBoss Getting Started Documentation] - Closing a connection for you. Please close them yourself

2004-03-17 Thread subhani
[CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] java.lang.Exception: STACKTRACE at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:282)

[JBoss-user] [Beginners Corner] - Re: CMP composite key help

2004-03-17 Thread captrespect
loubyansky you are friggin' genous. You have no idea how long I've been pulling my hair out over this. Change one stupid capial letter and it works. Thanks a million, seriously. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826126#3826126";>View the original post http://www.jbo

[JBoss-user] [Persistence & CMP/JBoss] - Re: Update on Find

2004-03-17 Thread gold
false http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826124#3826124";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826124>Reply to the post --- This SF.Net email is sponsored by: IBM Li

[JBoss-user] [Security & JAAS/JBoss] - Re: Problems with FORM Authentication

2004-03-17 Thread ahardy66
guess somebody took the pin out of their little voodoo doll of your jboss server. Actually I had some baffling experiences before I sorted out the TRACE logging. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826125#3826125";>View the original post http://www.jboss.org/index.html?m

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Axis Soap over JMS to build a listener for uncommon serv

2004-03-17 Thread abondi
I thought about resolving the problem with JMS because it was studied to resolve asynchronous message delivery, which is what I'm trying to achieve. I've looked around and found a probable implementation architecture. Could you please tell me if I'm getting some concepts wrong? 1- my customer d

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Scandinavic filenames

2004-03-17 Thread harlequinn
This still seems to be an issue, especially with current JBOSS 3.2.4RC1 which I just tried. Now it's happening on normal HTTP connections as well, not just HTTPS. To see the problem, you can create a web .war and put inside it html page with non-scandinavic symbols, for example index.html - and

[JBoss-user] [Persistence & CMP/JBoss] - Re: Update on Find

2004-03-17 Thread gold
"loubyansky" wrote : Any more details on what you and JBoss [your version] did? I do experience the issue accessing DB2 DATE field via CMP EB. Jboss 3.2.3. It seems Jboss CMP module makes the difference between the value retrived from the DB and the value stored in the CMP field. Why? Do you

[JBoss-user] [Installation & Configuration] - mod_jk problem ...

2004-03-17 Thread rafcio
Hi, we habe some problems with mod_jk. We have two JBoss instances (not in cluster). At the front we have Apache 1.3.29 with mod_jk 2.0.2 configured with sticky option. But sometimes we get errors: [Wed Mar 17 10:17:20 2004] ( info) [mod_jk2.c (405)]: modjk.handler() Calling lb:lb 0x935f288 [

[JBoss-user] [Beginners Corner] - Re: How do I schedule a task for action

2004-03-17 Thread mrtom
If you look in your server/default/deploy/scheduler-service.xml you'll see the two ways in which you can set up a scheduled task. The quickest way is to implement the first method. In the declaration you'll notice that it references org.jboss.varia.scheduler.example.SchedulableExample - if you l

[JBoss-user] [Installation & Configuration] - Re: Jboss On Debian: javax.naming.CommunicationException

2004-03-17 Thread mrtom
Yeah, I was thinking along the lines of a config problem. Check to see that you have a localhost entry in your /etc/hosts file. Should look something like: 127.0.0.1 localhost You can also change your CONTEXT_PROVIDER_URL to 127.0.0.1:1099 OR just leave it blank and JBoss will work it out (ma

[JBoss-user] [Installation & Configuration] - Re: Jboss On Debian: javax.naming.CommunicationException

2004-03-17 Thread millenium
Hi, Thank you, if I set the IP to 192.168.42.13 it works correctly. The System runs on a notebook so the IP depens on the network I use. But why isn't Jboss /Tomcat using localhost? I have never configured it should use the above IP-Adress! Perhaps this is a Linux-configuration problem??? Bye Ma

[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbql to sql translation mismatch

2004-03-17 Thread loubyansky
What JBoss version? It should not occur in 3.2.3. The first duplicate was because of ORDER BY which should be fixed. The second one, I am not sure. Do you map foreign keys to primary keys? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826115#3826115";>View the original post http://

[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbql to sql translation mismatch

2004-03-17 Thread loubyansky
I doubt you will gain any significant performance improvements though just because of this. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826116#3826116";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826116>Reply to the post --

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB-QL to SQL translation problem

2004-03-17 Thread loubyansky
No. While I agree we do need it I have other priorities. You are welcome to help. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826114#3826114";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826114>Reply to the post -

[JBoss-user] mod_jk problem ...

2004-03-17 Thread Rafal Kedziorski
Hi, we habe some problems with mod_jk. We have two JBoss instances (not in cluster). At the front we have Apache 1.3.29 with mod_jk 2.0.2 configured with sticky option. But sometimes we get errors: [Wed Mar 17 10:17:20 2004]  ( info) [mod_jk2.c (405)]: modjk.handler() Calling lb:lb 0x935f288 [Wed

[JBoss-user] [Persistence & CMP/JBoss] - Re: UCASE and accented characters

2004-03-17 Thread loubyansky
It is the database that performs ucase. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826113#3826113";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826113>Reply to the post --- This SF

[JBoss-user] [Security & JAAS/JBoss] - Re: j2ee.clientName in jndi.properties

2004-03-17 Thread aquila125
Hmm.. I don't think I understand.. I'll descibe the steps i took... I've written some EJB's and deployed them, connecting to them went perfectly (CMP entitybeans).. I wrote a small client-application that create some beanse.. Now I would like to add security, so I read the documentation (both co

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP inconsistancy with commit Option A

2004-03-17 Thread loubyansky
By definition, with commit option A, the only trusted way to create/remove/update persistent data is with the app server through EJB. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826110#3826110";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[JBoss-user] [Installation & Configuration] - Re: Jboss On Debian: javax.naming.CommunicationException

2004-03-17 Thread mrtom
What IP address does the Debian machine have? Is it the 192.168.42.13 that appears in the stack trace? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826109#3826109";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826109>Reply to the post

[JBoss-user] [Persistence & CMP/JBoss] - Re: Difference between Linux and Win2000?

2004-03-17 Thread loubyansky
I guess this is because you are running JBoss compiled for JRE1.4 in JRE1.3. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826108#3826108";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826108>Reply to the post --

[JBoss-user] [Performance Tuning] - Jboss cache is always empty - why?

2004-03-17 Thread DarkLord
Hi, We are using Jboss 3.2.3 on RedHat Advanced server 3.0. Our entity beans uses a customized container as follows: Our CMP 2.x EntityBean false org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy 50

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss - Error while checking if table aleady exists

2004-03-17 Thread loubyansky
Actually we have server.policy file that by default grants all permissions. Is the user on behalf of which you run JBoss able to execute DDL using the driver (outside JBoss)? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826106#3826106";>View the original post http://www.jboss.org/i

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: javax.naming.NameNotFoundException: ConnectionFactory no

2004-03-17 Thread [EMAIL PROTECTED]
And your error messages at startup where? Regards, Adrian http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826104#3826104";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826104>Reply to the post

[JBoss-user] [Datasource Configuration] - Re: Unregistered handle that was not registered

2004-03-17 Thread [EMAIL PROTECTED]
It was a bug in 3.2.1 If an error occurred while you were using the connection, it tried to close the connection twice. Regards, Adrian http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826105#3826105";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Invoking Message Driven Bean

2004-03-17 Thread [EMAIL PROTECTED]
There is very little to go on here, the little you have posted looks correct. My first guess would be the MDB is not deployed. Show me the log message where it says it is deployed. Also did you "READ THIS FIRST"? It explains how to enable debug logging. Regards, Adrian http://www.jboss.org/inde

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jdbc2 and firebird

2004-03-17 Thread [EMAIL PROTECTED]
DELETE JMS_MESSAGES FROM JMS_MESSAGES, JMS_TRANSACTIONS WHERE JMS_MESSAGES.TXID = JMS_TRANSACTIONS.TXID AND JMS_MESSAGES.TXOP=? This is not valid SQL. P.S. Does firebird support deletes through a join? I take it you copied the MySQL version (MySQL does not support subselects). Regards, Adrian

[JBoss-user] long lived transaction

2004-03-17 Thread Grzegorz Glowaty
Hello. Is there any way to implement a really long lived transaction in JBoss? What I'm trying to implement is a big import involving creation of thousands of entity beans (special bussiness logic is involved so it cannot be done by simple database tables import). I can guarantee that I'm the only

[JBoss-user] [Persistence & CMP/JBoss] - Re: Could not create entity (PostgreSQL / JBOSS 3.2.3)

2004-03-17 Thread loubyansky
Is t_foo supposed to be a table name? I guess the problem is taking this name into double quotes. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826101#3826101";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826101>Reply to the post

[JBoss-user] [Persistence & CMP/JBoss] - Re: Update on Find

2004-03-17 Thread loubyansky
Any more details on what you and JBoss [your version] did? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826099#3826099";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826099>Reply to the post

[JBoss-user] [Persistence & CMP/JBoss] - Re: findByPrimaryKey throws NullPointerException under load

2004-03-17 Thread loubyansky
Looks like a bug. What JBoss version are you using? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826100#3826100";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826100>Reply to the post ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB Access over HTTP

2004-03-17 Thread [EMAIL PROTECTED]
If you were using HTTP why does your stacktrace say OIL? [qoute] at javax.net.DefaultSocketFactory.createSocket(DashoA6275) at org.jboss.mq.il.oil.OILServerIL.createConnection(OILServerIL.java:563) at org.jboss.mq.il.oil.OILServerIL.checkConnection(OILServerIL.java:507) at org.jboss.mq.il.oil.OIL

[JBoss-user] [Persistence & CMP/JBoss] - Re: Entity Bean Explosion?

2004-03-17 Thread loubyansky
When an instance is passivated it is evicted from the cache. No resources are occupied. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826096#3826096";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826096>Reply to the post -

[JBoss-user] [Beginners Corner] - Re: CMP composite key help

2004-03-17 Thread loubyansky
What if you try startDate instead of StartDate http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826097#3826097";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826097>Reply to the post -

[JBoss-user] [Installation & Configuration] - Scheduler crazy RuntimeOperationsException

2004-03-17 Thread jeanpoire
I'm getting this error when i'm trying to start my scheduler: ERROR [org.jboss.varia.scheduler.Scheduler] operation failed RuntimeOperationsException: MBean jboss:service=Timer does not implement the NotificationBroadcaster interface. Cause: java.lang.ClassCastException at org.jboss.mx.server.

[JBoss-user] [Installation & Configuration] - Re: Log4j as a JNDI service

2004-03-17 Thread [EMAIL PROTECTED]
"appzworm" wrote : | 1. Is there anyway i can access the log4j service using a jndi name like we do for mail service etc | If you implement a JCA wrapper around the logging service then you will get a connection factory bound to JNDI. "appzworm" wrote : | 2. Also is it possible to con

[JBoss-user] [Messaging, JMS & JBossMQ] - jdbc2 and firebird

2004-03-17 Thread klchan
I tried to use jdbc2 persistent manager (jboss3.2.4) with firebird database and jaybird jdbc driver v1.5 and I kept getting the following error messages: 12:59:24,000 WARN [ServiceController] Problem starting service jboss.mq:service=PersistenceManager | org.jboss.mq.SpyJMSException: Could n

[JBoss-user] [Installation & Configuration] - Re: How can I solve this 500 error????

2004-03-17 Thread [EMAIL PROTECTED]
make sure you don't have white space in path names to JDK or JBoss if you're on Windows, that your JAVA_HOME is set correctly (to JDK, not JRE), and that you upgrade to 3.2.4RC1 if you're running on Tomcat 5 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826092#3826092";>View the or

[JBoss-user] [Beginners Corner] - Re: JBoss 3.x with MySQL and date fields as Long/Integer?

2004-03-17 Thread loubyansky
Just use date types. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826090#3826090";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826090>Reply to the post --- This SF.Net email is spons

[JBoss-user] [Installation & Configuration] - Re: Where to put Application properties file in clustered en

2004-03-17 Thread [EMAIL PROTECTED]
use a database http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826089#3826089";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826089>Reply to the post --- This SF.Net email is sponsored b

[JBoss-user] [HTTPD, Servlets & JSP] - How to deactivate session-persist in Tomcat5 and Jboss 3.2.3

2004-03-17 Thread murxx
Hey everybody! I got some problem that I noticed a lot of people have (I searched the forum). Meaning that Tomcat5 always tries to persist session on application undeploy or server-restart. Since some values are not persistable in my session, this fails and throws several exceptions. I would lik

[JBoss-user] [Installation & Configuration] - Jboss On Debian: javax.naming.CommunicationException

2004-03-17 Thread millenium
Hi there, I have a J2EE-Application which works fine with Jboss 3.2.3 and WIN2000/XP. Now I wanted to test it with Linux. I installed Java and Jboss on a Debian-Distribution. Starting up Jboss makes no problems, no errors are produced. Deploying of my ear is also no problem. JSP's seems to work,

[JBoss-user] [Persistence & CMP/JBoss] - unable to use ORDER BY clause

2004-03-17 Thread horizon
unable to use ORDER BY clause Platform: Jbuilder 9 Server:jboss-3.0.3_tomcat-4.1.12 i have to sort data by one column in a CMP. though i copy following statements from ejb-jar.xml to jbosscmp-jdbc.xml, these statements disappear after i rebuild the application. findByTypeID java.lang

[JBoss-user] [EJB/JBoss] - unable to use ORDER BY clause

2004-03-17 Thread horizon
Platform: Jbuilder 9 Server:jboss-3.0.3_tomcat-4.1.12 i have to sort data by one column in a CMP. though i copy following statements from ejb-jar.xml to jbosscmp-jdbc.xml, these statements disappear after i rebuild the application. findByTypeID java.lang.Integer SELECT O

[JBoss-user] [Beginners Corner] - JBoss 3.x with MySQL and date fields as Long/Integer?

2004-03-17 Thread davout
I'm using EJB CMP in my first JBoss project against a MySQL database. As standard EQL cannot employ DATE types as part of its query am I right in thinking that I should be storing my dates as Long values? that way I use standard numeric operands to enable EQL retrievals, right? I can use the '

[JBoss-user] [Security & JAAS/JBoss] - IAIK and NoSuchAlgorithmException

2004-03-17 Thread tanya
Hi, I have been using IAIK library iaik-jce (http://jcewww.iaik.at/) for encryption/decryption. The version of JBoss is 3.2.3 and jdk1.4.2_03. The code is executing fine when I run my application without JBoss but when I use it from withing EJBs, JBoss AS generates the exception... Class=Pars

[JBoss-user] [Datasource Configuration] - Unregistered handle that was not registered

2004-03-17 Thread lee_yuki2000
I m using jboss 3.2.1. Do any one know why sometimes i get this error when connecting to the database. I am using oracle 9.1i [TxConnectionManager$TxConnectionEventListener] Unregistered handle that was not registered! null for managedConnection: [EMAIL PROTECTED] [JBossManagedConnectionPool] Ex

[JBoss-user] [EJB/JBoss] - Re: a program in jboss that listens on a port

2004-03-17 Thread camel
You could impmenent this as a jboss service. What is your program going to do? If it's going to be your basic request/response server (even with long-lived connections), you may be able to implement it as a servlet. Not an HttpServlet, but just a custom servlet (i.e., it implements the Servle

[JBoss-user] [EJB/JBoss] - JNDI_NAME vs COMP_NAME

2004-03-17 Thread erongd
Hi, Everyone: I have this situation that I want to use a Entity Bean with in a Session Stateless Bean. I want to lookup the Local Home Interface of the Entity Bean within the Stateless Bean. But I can only lookup the Entity Bean using the JNDI_NAME not the COMP_NAME. Does anyone know why?

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB Access over HTTP

2004-03-17 Thread jula
Adrian: I am back @ square one: If you refer the very fist code post, you should see that I used HTTPConnectionFactory before and you wanted me to use UIL2 and so on. Now you want me to use HTTPConnectionFactory again. However, I suspect the issue is to do with firewall. Please tell whether

[JBoss-user] [Clustering/JBoss] - non multicating(TCP), server dont see each other.

2004-03-17 Thread raj10
one more thing .. i'm using jboss3.2.2 on windows 2000 Regards Raj. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826076#3826076";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826076>Reply to the post --

<    1   2