[JBoss-user] [Beginners Corner] - problems getting a resource

2004-09-14 Thread clau25
I have a xml file in a .jar file that is contained in an .ear file in /deploy subdirectory of jboss, something like: deploy/myEAR.ear/myJAR.jar/resources/myXML.xml. I want to access this file from my application. I have problems writing the right path in the getResource() function. Could anyon

[JBoss-user] [Management, JMX/JBoss] - new connection to a database with different user-name

2004-09-14 Thread boa19
Hi! Help, please. I would like for each user to make new connection to a database. Now I have oracle-ds.xml, in him OracleDS jdbc:oracle:thin: vvv103:1521:olg1 oracle.jdbc.driver. OracleDriver JB33 JB33 org.jboss.resource.adapter.jdbc.vendor. OracleExceptio

[JBoss-user] [JCA/JBoss] - Jboss CMP with mysql -> can't write data

2004-09-14 Thread ranxero
hello all, I set up mysql-4.0.20d-win and jboss-3.2.6RC1. I want to deploy a CMP bean that uses a mysql ds fpr persistence. everything is deploying fine, I have an autoincrement field for the bean which gets incremented every time a new data set is inserted - BUT al the rest of the data, Stri

[JBoss-user] [Installation & Configuration] - Re: Using Oracle with JBoss

2004-09-14 Thread balanscott
Thanks to everyone. It appears based on the responses we have it running. Now we can design some code and test (at least now I see the entries I specified.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848262#3848262 Reply to the post : http://www.jboss.

[JBoss-user] [Installation & Configuration] - Re: Running JBoss

2004-09-14 Thread genman
There are probably tricks running JBoss with JDK 1.5. Why not use 1.4.2? The jboss-jmx.jar probably conflicts with the javax.management stuff bundled in JDK 1.5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848260#3848260 Reply to the post : http://www.

[JBoss-user] [Installation & Configuration] - Re: JBoss returns incorrect ear exploded directory name:

2004-09-14 Thread genman
Interesting. I think somebody changed the name on you. You should file a bug once checking with JBoss 3.2.6RC1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848259#3848259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[JBoss-user] [Installation & Configuration] - Re: JNDI in a Servlet inside of the JBoss

2004-09-14 Thread genman
Usually, you're supposed to put anything you're using from local JNDI into resource-refs in your web.xml file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848258#3848258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Management, JMX/JBoss] - Re: mbeanserver persistence

2004-09-14 Thread genman
You could create a simple -service.xml that selects from the database a list of queues in your (JMS?) DB and then creates them upon start up. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848257#3848257 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB class loading question

2004-09-14 Thread genman
Sorry. I didn't mean to say they have to be different names, they can be the same name. I don't know why I said that. The stuff in application.xml should be services (.sar) ejb (.jar) and web apps (.war). The libraries get loaded from a classpath setting. There should be docs out there on

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Hypersonic localDB.data file size limit

2004-09-14 Thread genman
Get a javax.sql.DatasSource via JNDI, I guess "java:/localDB". Then get a connection, issue "CHECKPOINT DEFRAG", close the connection, etc. HSQL also issues this command after ever 200MB is inserted. This won't damage your data, but as I said will cause JMS to block. Again, try to upgrade t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDBs and Transactions

2004-09-14 Thread genman
The container will create up to the number of MDB you have configured. For JBoss this is 15 or so. Each message sent to a MDB reqiuires a new transaction. http://www-106.ibm.com/developerworks/websphere/library/techarticles/0304_yu/yu1.html View the original post : http://www.jboss.org/index

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

2004-09-14 Thread genman
Performance really depends on how you're persisting messages. Then it depends more on database performance mostly. The size of the message isn't incredibly important, if less than 100K or so. Do your own benchmarking by configuring a vanilla JBoss and sending messages using a couple clients.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: max. limit on creation of MDB's

2004-09-14 Thread genman
In general, a MDB listens to a single Queue. JBoss allows you to allocate as many MDB instances per queue as you want. Each instance has its own thread. You could have one MDB deployed per queue, or 1000 per queue, or the same MDB class listening to different queues. You can't have a single

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Beginner question, deployment order problem

2004-09-14 Thread genman
Is your MDB reading messages from the local server queue? I don't think you need to do what you're doing. It looks like you're trying to connect to the local server, in which case you're very confused. The HTTPIL stuff is what the client uses to talk to the server, not the MDB to the server.

[JBoss-user] [Clustering/JBoss] - how can i get All-User-List in a cluster system

2004-09-14 Thread [EMAIL PROTECTED]
whether or not the best way is use database to do this? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848249#3848249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848249 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configure JBoss with IBM MQ 5.30.0

2004-09-14 Thread genman
FAQ, Wiki. The masters have already answered your questions countless times. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848248#3848248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848248 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Newbie: No API to delete messages from queue?

2004-09-14 Thread genman
There is no non-vendor specific way. Take a look at the JMX console, look for your queue. Click on "removeAllMessages", you can do this via JMX. Isn't this a FAQ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848247#3848247 Reply to the post : http://ww

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jndi problems with the XAConnectionFactory

2004-09-14 Thread genman
Stuff in "java:" doesn't show up in a remote JNDI context. Use a different JNDI name, such as new InitialContext.lookup("ConnectionFactory") . Should be in the FAQ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848246#3848246 Reply to the post : http:/

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Persistence-related exceptions in JMS under heavy load

2004-09-14 Thread genman
Presumably, two threads using the persistence manager is causing interference in adding/removing transactions. I haven't seen this error before for other database vendors, but it may yet be valid. Is there some way you can get more detail messages on the lock situation? How are the tables bei

[JBoss-user] [Nukes User] - Re: Nukes on JBoss in Spanish

2004-09-14 Thread djaustintexas
Here is a link to the download for the spanish translations ... but couldn't really get it working ... http://sourceforge.net/tracker/index.php?func=detail&aid=910387&group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848240#3848240 R

[JBoss-user] [Installation & Configuration] - Running JBoss

2004-09-14 Thread public
I just downloaded JBoss version 3.2.5 and installed it. I already installed the JDK 1.5. While running JBoss using the run.bat I notice that there are too many exceptions logged and all related to MBean stuff. Am I missing any presetup that is required? All my installations are in recommended de

[JBoss-user] [Messaging, JMS & JBossMQ] - Persistence-related exceptions in JMS under heavy load

2004-09-14 Thread Ironbeard
I've configured JMS to use Sybase for persistence. So far, I haven't seen any problems during extended periods of light to moderate message load (less than about 100 messages per second). However once the load increases beyond that, deadlocks start getting thrown. The most common example is a dea

Re: [JBoss-user] [Beginners Corner] - specify deploy directory for jk2

2004-09-14 Thread Tim Meals
Michael -- You don't need to fuss with aliases in Apache. Instead, you'll define which URIs to pass onto JBoss/Tomcat in the workers2.properties file. For example, if you want to have JBoss handle all /test/* requests, you'll add a couple of lines in workers2.properties like this: [uri:/test/*]

[JBoss-user] [Messaging, JMS & JBossMQ] - jndi problems with the XAConnectionFactory

2004-09-14 Thread chirock
Here is the stack trace I get when looking up the ConnectionFactory on a remote machine with the jndiName=java:/XAConnectionFactory. javax.naming.NameNotFoundException: XAConnectionFactory not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org.jnp.server

[JBoss-user] [Beginners Corner] - New to J2EE - avoid EJB's?

2004-09-14 Thread hay7777
Hi, I am new to J2EE, although have a lot of java, servlets and jsp experience. I have been looking at Spring and Hibernate, and was originally going to just use Tomcat for our web app. However our requirements have grown, and I'd like to use a J2EE server for security, transactions etc.. Is

[JBoss-user] [Beginners Corner] - specify deploy directory for jk2

2004-09-14 Thread mjremijan
I'd like to use the apache jk2 in front of jboss. However, I have a small problem. In the httpd.conf file I would normally need to use an alias to point to the webapp directoy. Using straight tomcat this is easy: Alias /test "D:/Programs/jakarta/tomcat/5.0.28/webapps/test/" However, with jbo

[JBoss-user] [Management, JMX/JBoss] - Re: Beginner question: deployment order problem

2004-09-14 Thread [EMAIL PROTECTED]
I'd propose you simplify your descriptor to the absolute minimum. It seems there is a lot of redundancy there. I'm copying Scott's reply about this: anonymous wrote : | Tomcat as a service does not delay its initialization. It does delay the start of its connectors until the server sends a s

[JBoss-user] [Installation & Configuration] - Re: Using Oracle with JBoss

2004-09-14 Thread hernant
Don't know what happened with the password... the password goes within < password > tag Hernan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848230#3848230 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848230 ---

[JBoss-user] [Installation & Configuration] - Re: Using Oracle with JBoss

2004-09-14 Thread hernant
here you have an example of oracle-ds.xml file: OracleDS2 jdbc:oracle:thin:@SERVER1:1521:DB1 oracle.jdbc.driver.OracleDriver USERNAME PASSWORD org.jboss.resource.adapter.jdbc.vendor.Orac

[JBoss-user] [Security & JAAS/JBoss] - Re: How to disable MEJB access?

2004-09-14 Thread jxtang
Hi Scott, Can you some comments on my latest response? Thanks a lot! John View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848227#3848227 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848227 ---

[JBoss-user] [Installation & Configuration] - JNDI in a Servlet inside of the JBoss

2004-09-14 Thread aryjr
Hi, I have a mbean that creates hibernate sessions. I can create the session from a session bean: SessionFactory sf = (SessionFactory)ctx.lookup("java:/hibernate/SessionFactory"); The probleam: if I try to make in a Servlet in a webapp published in one .WAR inside of one .EAR, I receive the ex

[JBoss-user] [Security & JAAS/JBoss] - Open Source JAAS Single Sign-On now available for Tomcat 5+

2004-09-14 Thread gbrigand
JOSSO (Java Open Single Sign-On), is an open source J2EE-based SSO infrastructure aimed to provide a solution for centralized, platform neutral user authentication. JOSSO implements web services technology for asserting user identity, allowing the integration of Java and non-Java applications

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: rmh - enterprise javabeans, 4th ed. exercise 15.1 doesn'

2004-09-14 Thread mettlerd
thanks! Dani View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848220#3848220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848220 --- This SF.Net email is sponsored

[JBoss-user] [Installation & Configuration] - JBoss returns incorrect ear exploded directory name:

2004-09-14 Thread Ranjith Pillai
Hello all, I have deployed an ear called application.ear in JBoss. I have - URL path = Thread.currentThread().getContextClassLoader().getResource("config/" + instanceName + "/my-config.xml"); to find the relative path of some config file. Actually the relative path is -:/opt/websat/jbos

[JBoss-user] [Installation & Configuration] - Re: Using Oracle with JBoss

2004-09-14 Thread darranl
Examples can be found in '{jboss.home}\docs\examples\jca' The getting started guide (Available from the Documentation link) also describes configuring additional datasources . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848218#3848218 Reply to the post :

[JBoss-user] [Security & JAAS/JBoss] - Re: classic

2004-09-14 Thread mthoma
Hi Using the DatabaseServerLoginModule, I'm facing the following strange behaviour: The login works fine, the user is authenticated against the values from the database, and he is assigned to the correct role. But when the user tries to call an EJB method, the DatabaseServerLoginModule receives

[JBoss-user] [Management, JMX/JBoss] - Re: Beginner question: deployment order problem

2004-09-14 Thread [EMAIL PROTECTED]
That reminds me of something. I think in the latest jboss version tomcat completes initialization AFTER server is started... What version are you using? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848215#3848215 Reply to the post : http://www.jboss.org/i

[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-14 Thread [EMAIL PROTECTED]
If you can get to the point of having a connection to the remote MBean server, you can call deploy(URL) on the MainDeployer. Your archive will be then started from the provided URL /Dimitris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848213#3848213 Repl

[JBoss-user] [Persistence & CMP/JBoss] - Re: Duplicate entity instances, differing field values (cach

2004-09-14 Thread bdbogg
I did find a workaround for this problem (see below), but I still have no idea why the original problem would be happening, or what the root of the problem really is. One other bit of information that might be helpful in resolving: if I restart the server, the problem goes away. In other words,

[JBoss-user] [Beginners Corner] - Re: is there a way to find out if a bean local or remote bas

2004-09-14 Thread darranl
The interface that is used will depend on the home interface that is looked up. If the home interface that you lookup is the remote home interface you will use the remote interface to the bean. If the home interface that you lookup is the local interface you will use the local interface of the

[JBoss-user] [JBoss Getting Started Documentation] - Re: No database manager available

2004-09-14 Thread floorflux
nevermind my comments. I had a typo in my hsqldb-ds.xml file. Hypersonic loads fine on JBoss 3.2.5 as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848211#3848211 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank / Hypersonic: localDB vs. server

2004-09-14 Thread floorflux
thanks for the completeness! After realizing that your hsqldb-ds.xml file worked for me too, I did a vi comparison against mine and realized that I'm an idiot and mispelled Hypersonic in the depends tag! Gotta love typos! View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Management, JMX/JBoss] - JBoss shuts down when exiting HSQL database manager

2004-09-14 Thread robisz
Why the server shuts down when I exiting HSQL db manager? I'm starting it through jmx-console in JBoss 4.0 RC2 thanks Robert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848209#3848209 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [Installation & Configuration] - Using Oracle with JBoss

2004-09-14 Thread balanscott
I understand that we need to modify/create a -db.xml file for Oracle so we can use it. However, I cannot locate any information as to naming conventions (if required). Does anyone have a sample file to share that currently works? Thanks. View the original post : http://www.jboss.org/index.htm

[JBoss-user] [Performance Tuning] - Re: Full GC !!! Good or bad ?

2004-09-14 Thread dtauzell
What do you have for your -Xms and -Xmx settings? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848207#3848207 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848207 ---

[JBoss-user] [Persistence & CMP/JBoss] - jdbc2 and jdbc

2004-09-14 Thread [EMAIL PROTECTED]
Hi! What is the difference between these packages regarding CMPs in Jboss 3.2.4+? How are CMPs configured to use one or the other and why would you use one or the other? org.jboss.ejb.plugins.cmp.jdbc org.jboss.ejb.plugins.cmp.jdbc2 tia, Jason View the original post : http://www.jboss.org/i

[JBoss-user] [News & Announcements] - JBoss World 2005: Call for Papers

2004-09-14 Thread [EMAIL PROTECTED]
JBoss first ever User Conference will be held at the Omni/CNN Center in downtown Atlanta, March 1-2, 2005. JBoss World will be a community driven event, from the creation of session tracks to the selection and presentation of topics. There are approximately 25-30 slots available, of which an

[JBoss-user] [Persistence & CMP/JBoss] - Re: Deployment error from JDBC

2004-09-14 Thread john_anderson_ii
If you are using any sort of scripting system to build your packaging, like JBossIDE or ant, use any jar tool to unpack the actual .ear you are trying to deploy and then browse it to make sure that all your beans and descriptors and such are in their proper place. I usually get the nullPointerE

[JBoss-user] [Beginners Corner] - Deployment Scanner Scan Period

2004-09-14 Thread hfalaska
Has anyone figured out or know if it this is even possible? What I would like to do is set up the deployment scanner to deploy at the same time each day. I just want to set it to a specific time not to check after so many seconds. View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Persistence & CMP/JBoss] - INSERT when deployed?

2004-09-14 Thread john_anderson_ii
Imagine this scenario. I have a JSP that pulls a list of available "modules" from a table in a database, this JSP and it's corresponding CMP beans are deployed as one .ear. When a new module is deployed as another .ear to the JBoss server it needs to show up in this list of available module

[JBoss-user] [News & Announcements] - Announcement: JBoss World March 1-2 2005 Call for Pap

2004-09-14 Thread admin
The first-ever JBoss User Conference will be held at the Omni/CNN Center in downtown Atlanta, March 1-2, 2005. JBoss World will be a community driven event, from the creation of session tracks to the selection and presentation of topics. There are approximately 25-30 slots available, of which

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss JAAS x Tomcat's

2004-09-14 Thread crowne
Scott, Thanks for your quick response. I used the samples on the following link, http://www.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials to add cache flushing to the logout of my app. What I found during further testing was that unauthorised users are cached too. I had to flush them to

[JBoss-user] [Performance Tuning] - Full GC !!! Good or bad ?

2004-09-14 Thread [EMAIL PROTECTED]
Hi, I am using Jboss3.2.0_Tomcat4.1.24 as default configuration with Postgres 7.3.2. as backend I have deployed an EAR file and it is showing following output. 09:59:21,912 INFO [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)] Started in 2m:12s:473ms [GC

[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank / Hypersonic: localDB vs. server

2004-09-14 Thread krumeich
Now that's strange. Your experince makes it sound like 3.2.5 problem. Anyway, for sake of completeness, I'll post my hsqldb-ds.xml file. You might want to compare this to yours: | | | | | | | | | | | DefaultDS | | | jdbc:h

[JBoss-user] [JBoss Getting Started Documentation] - Re: No database manager available

2004-09-14 Thread floorflux
I just installed JBoss 3.2.4 and left everything configured the same as my JBoss 3.2.5 installation. Hypersonic loads fine and the Duke's Bank application runs perfectly. Still a no go on 3.2.5! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848189#3848189

[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank / Hypersonic: localDB vs. server

2004-09-14 Thread floorflux
Interesting that I installed JBoss 3.2.4 and everything works fine! Nothing else in my configuration is different, so it must be a 3.2.5 problem! Hmm, I think that may have been posted somewhere else, I just didn't want to believe it! View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [Security & JAAS/JBoss] - Re: CallerIdentityLoginModule: where get credentials?

2004-09-14 Thread yuriyg
I created a bug report. https://sourceforge.net/tracker/index.php?func=detail&aid=1028029&group_id=22866&atid=376685 I don't think there's more details. Just the same method works from the first web page and don't work from the second one. Nothing specific at these pages. Just calls. View the o

[JBoss-user] [Clustering/JBoss] - Re: AJP Clustering

2004-09-14 Thread nitin888
Luc, Yes, I'm using j_secuirty_check. If you need any more plz let me know... thanks, Nitin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848183#3848183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848183 -

[JBoss-user] [Security & JAAS/JBoss] - Re: UsernamePasswordLoginModule

2004-09-14 Thread [EMAIL PROTECTED]
Read about the bundled login modules from admin and devl guide online by following the 'Free Online JBoss Documentation' link from here: http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848181#3848181 Reply to the post : http:/

[JBoss-user] [Installation & Configuration] - Re: Running JBoss 4.0 as a NT Service

2004-09-14 Thread kabkhan
Never tried it :-) Does anything weird come up in the logs? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848180#3848180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848180 -

[JBoss-user] [Installation & Configuration] - Running JBoss 4.0 as a NT Service

2004-09-14 Thread ddossot
Guys, I am trying to run JB4.0 as a NT Service and for this I use the same method I am successfully using with 3.2.3, i.e. javants. The server is apparently started when I start the NT service (process running, RAM consummed) but does not reply to my browser (not an immediate no-reply, but a ti

[JBoss-user] [Management, JMX/JBoss] - How to remotely deploy a MBean service using JBoss API?

2004-09-14 Thread yueming
Hi there, I'd like to deploy my MBean service sar to a remote JBoss server, is there a way to do that using some MBean's API via RMIAdaptor? Thanks in advance! Yueming View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848176#3848176 Reply to the post : http://

[JBoss-user] [The Lizzard's corner] - Re: JBoss BPM/workflow Engine

2004-09-14 Thread lbender
Smart answer :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848177#3848177 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848177 --- This SF.Net email is sponsor

[JBoss-user] [Management, JMX/JBoss] - Re: Registering as a listener to server startup

2004-09-14 Thread dsengupt
Dimitris, Thanks for the information. I will check the links and see what i can extract out of them. Regards, -Deb View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848174#3848174 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Beginners Corner] - Re: jndi lookup (to get rid of org.jnp.interfaces.Marshalled

2004-09-14 Thread pietu
Forget above, noticed that I was constructing JNDI path erroneously. Works now Ok as it should. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848173#3848173 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848173

[JBoss-user] [Clustering/JBoss] - Re: AJP Clustering

2004-09-14 Thread ltexier
what form-based authentication mechanish are you using? j_security_check? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848172#3848172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848172 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UserTransaction.begin behaves differently from 3.2.3 to

2004-09-14 Thread harajuku_01
Scott. It works now. It's a careless mistake. My apologies. Thanks so much, Hara View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848171#3848171 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848171 --

[JBoss-user] [Security & JAAS/JBoss] - Re: CallerIdentityLoginModule: where get credentials?

2004-09-14 Thread [EMAIL PROTECTED]
The credentials come from the calling components security context. Describe the call sequence in detail if you want help in drilling down into what is going on. You can create a bug report on sourceforge if you have an example you think that should be working: http://sourceforge.net/tracker/?gr

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UserTransaction.begin behaves differently from 3.2.3 to

2004-09-14 Thread [EMAIL PROTECTED]
Your using 3.2 client jars to talk to a 4.0 server and the proxy method mapping signatures have changed. Use the 4.0 client jars. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848168#3848168 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Beginners Corner] - Re: MDBs and Transactions

2004-09-14 Thread Frito
"PaulSmith001" wrote : | Will the container create another (or use another pooled) instance of the MDB to handle the message? | yes, depending of the maximum number of instances configured with the used container "PaulSmith001" wrote : | If it does, will the container allow the 2nd instan

[JBoss-user] [Security & JAAS/JBoss] - CallerIdentityLoginModule: where get credentials?

2004-09-14 Thread yuriyg
Login module works. But it's not the case when we create stateful or stateless (I tried both) on one Struts page and then try to call something at different page. What's we get here is null credentials in the second call. ( org.jboss.resource.JBossResourceException: Could not create connection;

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UserTransaction.begin behaves differently from 3.2.3 to

2004-09-14 Thread harajuku_01
Does anyone have an idea? Thanks, hara View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848164#3848164 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848164 --- This

[JBoss-user] [JBoss Getting Started Documentation] - Re: No database manager available

2004-09-14 Thread floorflux
I installed JBoss 3.2.5 in c:\jboss-3.2.5 on Windows XP SP1. %JAVA_HOME% is set to c:\j2sdk1.4.2_04. When I first installed it, running the default server worked like a charm. Upon setting up Hypersonic for TCP/IP as described in Getting Started with JBoss by Luke Taylor and The JBoss Group,

[JBoss-user] [EJB/JBoss] - Re: Error using Local and Remote Interface

2004-09-14 Thread hubaer
Thank you very much, that solve my problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848159#3848159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848159 --

[JBoss-user] [HTTPD, Servlets & JSP] - Re: howto get standard context in tomcat 5

2004-09-14 Thread jae77
update... it appears that if i grab a reference to the mbean server, then i can use the ObjectName ref that was returned to me and then invoke "findMappingObject" to get the catalina context. if anyone else has any experience w/ this, pls let me know if this is what i want to do. View the or

[JBoss-user] [EJB/JBoss] - Re: synchronizing a session bean

2004-09-14 Thread Frito
@twutort: reading the words "session bean", "synchronized", "socket" and "singleton" in one posting is scaring me a bit ;-) Since the singleton (and therefore the synchronisation) depends on the deployment (a singleton is a singleton for a specific ClassLoader) i won't rely on this. I recommend u

[JBoss-user] [Installation & Configuration] - Re: Deployment status for unknown deployment units

2004-09-14 Thread [EMAIL PROTECTED]
Yes, reopen the bug with this clarifying statement. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848156#3848156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848156 -

[JBoss-user] [The Lizzard's corner] - Re: JBoss BPM/workflow Engine

2004-09-14 Thread [EMAIL PROTECTED]
Yes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848155#3848155 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848155 --- This SF.Net email is sponsored by: YOU B

[JBoss-user] [Persistence & CMP/JBoss] - credentials per connection

2004-09-14 Thread yuriyg
Does anyone know if connections are pooled when each connection has different credentials? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848154#3848154 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848154 -

[JBoss-user] [Installation & Configuration] - accessing session when invoked from another context

2004-09-14 Thread erezharari
say i access WAR2 from WAR1: ServletContext c=application.getContext("/WAR2"); RequestDispatcher disp=c.getRequestDispatcher("/test.jsp"); disp.include(request,response); in WAR2/test.jsp i cannot get the session: request.getSession() throws java.lang.NullPointerException at org.apache.ca

[JBoss-user] [Persistence & CMP/JBoss] - Deployment error from JDBC

2004-09-14 Thread kkaal
Hi, I am encountering a deployment problem. I cannot make out the reason for this error. Could somebody give me a hint where to look? Thanks Klaus --- 15:28:46,011 INFO [MainDeployer] Starting deployment of package: f

[JBoss-user] [Messaging, JMS & JBossMQ] - Configure JBoss with IBM MQ 5.30.0

2004-09-14 Thread anbuselvam
Hi Masters, i have some trouble to configure IBM MQ5.30.0 with Jboss-3.0.0. iam creating 'testQueue' in MQ and access this queue using RefFSContextFactory admin objects in jboss.but i like to write one Message Driven Bean, this bean listening on my 'testQueue' always. i need how to configure JBOS

[JBoss-user] [HTTPD, Servlets & JSP] - Re: where i can save data in jboss?

2004-09-14 Thread dvir_yar
thanks a lot raja i used the second option that you offered and it works great. dvir View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848150#3848150 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848150 ---

[JBoss-user] [Beginners Corner] - JBOSS 3.2.5: Problem with Jsp files cached in work/ dir duri

2004-09-14 Thread sirnono
Hello ! I'm new to the JBoss world and community ! I run a Jboss 3.2.5 server with multiple webapps. When I modify one jsp into one webapp and i hot deploy the new war over the previous one, my jsp file remains as it was before any modification. To see the changes, i need to manually delete *.ja

[JBoss-user] [Installation & Configuration] - Deployment status for unknown deployment units

2004-09-14 Thread Frito
I am working on JBoss 3.2.5: when deploying a deployment unit, JBoss doesn't find a suitable deployer for, the JAR deployer is trying to deploy this unit. This can end up with a ZipException and the unit is listed as deployed with state 'STARTED'. I suggested (with bug#996536) not to deploy unk

[JBoss-user] [EJB/JBoss] - Re: Error using Local and Remote Interface

2004-09-14 Thread kabkhan
Do not put remoteexception in the bean class, it is for use by RMI to indicate the something went wrong with the communication, you should not throw it yourself. So for your Remote I/F: void mymethod() throws MyException, RemoteException; Your Local I/F void mymethod() throws MyException

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Beginner question, deployment order problem

2004-09-14 Thread skidvd
Just wanted to mention that I have also tried to deploy this MDB insode an ear file (since ears are deployed by default after all jars and wars) - with exactly the same result - hung container during startup. I'm strongly suspectting that the HTTPIL needs to have the Tomcat Connector listenin

[JBoss-user] [Management, JMX/JBoss] - Re: Beginner question: deployment order problem

2004-09-14 Thread skidvd
"[EMAIL PROTECTED]" wrote : I guess the quick and dirty solution is to just configured the deployment scanner (conf/jboss-service.xml, look at the very bottom) to use the deployment prefix shorter instead of the default sorter. | | Then just rename your xx.jar to, e.g. 99-xx.jar and this mor

[JBoss-user] [Javassist user questions] - How to configure JBoss to use IBM MQSeries

2004-09-14 Thread chanderkant74
Hi, I am working in Project having involvement with JMS, for which we are using JBoss as application server and IBM MQSeries as JMS Provider. my question is : Do we have to configure JBoss to use MQseries? if yes, How can i do this? or, in simple, How can i override the default JBoss JMSProv

[JBoss-user] [EJB/JBoss] - Re: JBoss RMI/IIOP and Hibernate DAO inside a Stateless Sess

2004-09-14 Thread aillarramendi
In addition: We are working with JBoss 3.2.5 & Hibernate sync 2.2.2 Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848141#3848141 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848141

[JBoss-user] [EJB/JBoss] - Re: synchronizing a session bean

2004-09-14 Thread darranl
You should probably wrap the class with it's own session bean if that is what you are trying to achieve. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848140#3848140 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38481

[JBoss-user] [EJB/JBoss] - Re: Deploying EJBs sequentially:

2004-09-14 Thread darranl
JBoss will not call ejbCreate as part of your deployment, there is also no reuirement for it to do this either. Have a look at 'http://www.jboss.org/wiki/Wiki.jsp?page=CreateAStartupClass' If you deploy the MBean with your ear you would add a depends tag to day wait till the EJBs are deployed.

[JBoss-user] [Beginners Corner] - jndi lookup (to get rid of org.jnp.interfaces.MarshalledValu

2004-09-14 Thread pietu
Greets, We are using third party program (in same JBOSS 3.2.5 instance) that looks up string value from JNDI. Im setting that value into jboss jndi using std rebind("somestring","somevalue"). Now third party prog uses lookup("somestring") to retrieve value and casting to string ofcourse fails

[JBoss-user] [EJB/JBoss] - Re: Cache size for a Stateless bean

2004-09-14 Thread darranl
You need to look at the administrators and developers guide, available from the Free Docos link. Look at the configuration for the containers, I think the value you are looking for is 'strict-maximum' or something very similar. View the original post : http://www.jboss.org/index.html?module=bb

RE: [JBoss-user] [EJB/JBoss] - Cache size for a Stateless bean

2004-09-14 Thread Mateus Gonçalves dos Santos
Stateless doesn't use Cache. It uses pool. then, set this configuration in jboss.xml : Standard Stateless SessionBean ... ... org.jboss.ejb.plugins.StatelessSessionInstancePool org.jboss.tm.TxManager 2 regards, Ma

[JBoss-user] [Installation & Configuration] - Classloader subtleties between standalone Tomcat 4.127 and 3

2004-09-14 Thread wapdat
This is something I discovered in porting our applications in a standalone tomcat 4.1.27 to the tomcat 5 embedded in JBoss 3.2.5 Previously we loaded property files using: this.getClass().getResourceAsStream(fileName) ie getting the class loader from the current class. What I found is that thi

[JBoss-user] [Security & JAAS/JBoss] - Different OS users

2004-09-14 Thread yuriyg
Maybe it's a quite strange question and actually I don't believe it's possible. But maybe someone met the situation when you need to run different threads under JBoss with different OS credentials? :-) Sci-fi? :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

Re: [JBoss-user] [Performance Tuning] - Faster When war not included in ear

2004-09-14 Thread Sergiusz Jarczyk
Hi neva wrote: Hello, During development, I have been deploying the client side (war) in tomcat on a separate JVM and my ear (All my ejbs) on jboss (now using 3.2.5) on another. Using that architecture, I can retrieve all memberships (about 400 records) in a dynamic search in around 10 secs. In th

[JBoss-user] [EJB/JBoss] - Error using Local and Remote Interface

2004-09-14 Thread hubaer
Hi all, I have a problem using local interfaces and remote interfaces for the same bean. I want to use a session bean as session fassade but also to connect in between different ejbs. Because I throw the RemoteException in the Bean I add in both (local and remote interface) the remoteException

[JBoss-user] [Performance Tuning] - Faster When war not included in ear

2004-09-14 Thread neva
Hello, During development, I have been deploying the client side (war) in tomcat on a separate JVM and my ear (All my ejbs) on jboss (now using 3.2.5) on another. Using that architecture, I can retrieve all memberships (about 400 records) in a dynamic search in around 10 secs. In the productio

  1   2   >