[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseLoginModule example project

2004-04-07 Thread antoine
excuse me but where did you find databaseServerloginmodule project example ? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829739#3829739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829739 --

[JBoss-user] [Security & JAAS/JBoss] - Re: Opening RMI to the Internet?

2004-04-07 Thread antoine
I work about swing clients connecting ejbs. I invoke my ejb over the internet without rmi. I use remoting (proposed by bright side framework) : Http invocation maybe I answer to your question View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829738#3829738 Re

[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule in 3.2.1

2004-04-07 Thread liuhf
can anyone give me the 'databaseLoginModule example project'? here is my e-mail: [EMAIL PROTECTED] thanks. liuhf. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829737#3829737 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseLoginModule example project

2004-04-07 Thread liuhf
can anyone give me the 'databaseLoginModule example project' ? here is my e_mail: [EMAIL PROTECTED] thanks. liuhf. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829736#3829736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Beginners Corner] - Re: for jalex

2004-04-07 Thread liuhf
ye, here is my e-mail: [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829735#3829735 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829735 --- This

[JBoss-user] [Security & JAAS/JBoss] - give me 'databaseLoginModule example project' please.

2004-04-07 Thread liuhf
hi all, how can i send a e-mail to jalex in jboss.org? i want to get the 'databaseLoginModule example project' from him, but just don't know how to attact with him. anyone has the 'databaseLoginModule example project' can send the project directly to me. [EMAIL PROTECTED] help please

[JBoss-user] [Beginners Corner] - for jalex

2004-04-07 Thread liuhf
hi all, how can i send a e-mail to jalex in jboss.org? i want to get the 'databaseLoginModule example project' from him, but just don't know how to attact with him. anyone has the 'databaseLoginModule example project' can send the project directly to me. help please. thanks. liuhf.

[JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()

2004-04-07 Thread xsam_jboss_user
Thanks much Sacha. We tried the GC_LAG and it seems the problem is still there. The problem occurs after about 10 hours. I think the problem occurs as soon as the other node is shunned out of the cluster. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=382973

[JBoss-user] [Nukes User] - Update - installed via WIKI instructions but same error

2004-04-07 Thread kgelner
I ran across this useful WIKI page on Nukes installation: http://jboss.org/wiki/Wiki.jsp?page=InstallUninstallUpgrade And followed the instructions there. Those directions do work better, in that the second build phase copies the installer EAR file as it should (although for the last step, run

[JBoss-user] [JBoss Getting Started Documentation] - Error When calling the HSQL Database Manager, page 23

2004-04-07 Thread davedarden
In the JBoss Getting Started Guide, things work up until page 23. Then pressing the invoke button for the startDatabaseManager() method returns a blank screen with the message "Operation completed successfully without a return value." I did modify the hsqldb-ds.xml file as directed on page 21,

[JBoss-user] [Nukes User] - Nukes on OSX - ear not copied, deployed but does not map?

2004-04-07 Thread kgelner
I followed the instructions located here: http://www.jboss.org/developers/projects/nukes/build with the exception that I am using Postgres instead of mySql (to get that to work I had to add the line "nukes.database=postgresql" to the build/local.properties file that was created by my copying up

[JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()

2004-04-07 Thread bela
Does the NAKACK error only occur when the 2nd node is shunned, forced to leave the cluster and the rejoins ? Does this happen *immediately* after rejoining (and failing to get the state) ? Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829726#3829726 R

[JBoss-user] [Clustering/JBoss] - Re: Long messages when machines are cluster in heavy load

2004-04-07 Thread bela
Looks like this is a bug in JGroups with the STABLE message garbage collection protocol. You can increase the value of NAKACK.gc_lag to minimize the occurrence of this bug, e.g. set it to 1000. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829725#3829

[JBoss-user] [Installation & Configuration] - Re: Can any one direct me to configure jboss3.08 with oracle

2004-04-07 Thread [EMAIL PROTECTED]
java.lang.String View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829724#3829724 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829724 --- This SF.Net email is sponsor

[JBoss-user] [Installation & Configuration] - Re: Can any one direct me to configure jboss3.08 with oracle

2004-04-07 Thread calffin
Hi,kbk, thank you a lot for your help! Conforming to your direction , I made the change as below(if I did something wrong ,please tell me): 1 , I get the ojdbc.jar to the %JBOSS_HOME%\server\default\lib 2. I copy the oracle-service.xml to the %JBOSS_HOME%\server\default\deploy . I edit this file

[JBoss-user] Preloading database connection

2004-04-07 Thread Dj Shiow
Hi, I am using Jboss with ms sql database. And everytime the server is re-started the first call to the database always take significantly longer time than normal (400: 15) . I investigated and it seemed that the delay is caused by the first time that the database connection is created. So, I was

[JBoss-user] [Beginners Corner] - Re: How to get objects which is binded using NonSerializable

2004-04-07 Thread tiim
Thank you for your reply. I'll try to use other methods to do my job. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829722#3829722 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829722 -

[JBoss-user] [Beginners Corner] - Re: How to get objects which is binded using NonSerializable

2004-04-07 Thread [EMAIL PROTECTED]
This question gets asked a lot. Frankly I'm tired of explaining it. :-) NonSerializable means you cannot convert the object into a byte stream - one of the requirements for remote access. If you look at the implementation it is a cheat. It binds a serializable object that knows how to get back to

[JBoss-user] [Beginners Corner] - How to get objects which is binded using NonSerializableFact

2004-04-07 Thread tiim
I tried use the NonSerializableFactory 's rebind method to bind a non serializable object into a Jndi name, however , when I try to get it out of jndi in a client program out of the vm which jboss is in , I get a null. I've read the NonSerializableFactory's api doc, it says that :The binding wi

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to get the Catalina Container from an EJB

2004-04-07 Thread james.clover
Ok, I've found how to get the Container object for a web application using 3.2.4 or 4.0 and TC5. Here's a snippet: | InitialContext ic = new InitialContext(); | RMIAdaptor rmiServer = (RMIAdaptor) ic.lookup("jmx/rmi/RMIAdaptor"); | ObjectName name = new |ObjectName("jboss.web:j2eeT

[JBoss-user] JBoss Looping on Startup

2004-04-07 Thread Peter Luttrell
I'm experiencing the strangest problem... When i startup JBoss it loops forever. I'm using JBoss3.2.3 with Jetty on Windows with Jdk 1.4.2_04. It appears that once my webapp has been deployed, JBoss just starts over again. Checkout these lines of output: 19:41:36,359 INFO [MainDeployer] Deploy

[JBoss-user] [Installation & Configuration] - Re: Can any one direct me to configure jboss3.08 with oracle

2004-04-07 Thread kbk
I haven't tried it with Oracle 9.2.0.1 but we do have Oracle 9.2.0.4 in production with Jboss 3.0.8 First you'll have to download and copy the JDBC-driver(ojdbc14.jar) to your configuration's lib directory. The driver is available from Oracle's homepage. Second copy either the oracle-xa-service.x

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: tibco JMS and JTA

2004-04-07 Thread [EMAIL PROTECTED]
JTA integration is not automatic, you need to plug tibco's XAConnectionFactory in jboss's JMS resource adapter. There is an example in the FAQ topic at the top of this forum on how to configure a remote JBossMQ using JMSRA. "How do I access a remote jboss connection factory using a managed connect

[JBoss-user] [Installation & Configuration] - MySQL works fine on jboss 3.2.3, but not on jboss 3.2.1

2004-04-07 Thread ltcmelo
Hi, i configured jboss 3.2.3 perfectly to use mysql as DefaultDS, works fine. Then, i tried to do the same with jboss 3.2.1, but doesn't work (get a lot of exceptions in initialization). Here is what i did to configure mysql in jboss 3.2.3 (THIS WORKS) - Replaced hsqldb-ds.xml by mysql-ds.xml and

[JBoss-user] [Installation & Configuration] - Re: how do I enable JMX monitoring entity bean locking?

2004-04-07 Thread camel
Maybe you're looking for this: http://www.onjava.com/pub/a/onjava/2003/05/28/jboss_optimization.html?page=2 It's from an article on JBoss optimizations -- the relevant part is Bill Burke's comment at the end of user comments: anonymous wrote : For locking, JBoss has a lock monitor that monitors

[JBoss-user] [JCA/JBoss] - Re: Setting username and password on existing datasource

2004-04-07 Thread dheinecke
Ok, what we did seems to have worked, but if anyone has a better way to do this, or can see any potential problems, please let me know. First, we made our deployer MBean depend on the ManagedConnectionFactory service for our datasource. Without this dependency, our MBean was starting up and try

[JBoss-user] getServletContext() throwing a NullPointer?

2004-04-07 Thread Peter Luttrell
I'm trying to get my webapp that works perfectly with JBoss3.2.1 (with Jetty) to work with JBoss3.2.3 with Jetty 4.2.14. When i execute the following line of code in the doPost method of a servlet, i get a NullPointerException: System.out.println( "TEST: getServletContext()=" + getServletCon

[JBoss-user] [Management, JMX/JBoss] - JNI callback MBean's method problem

2004-04-07 Thread csidiki
I have a components written in C,C++ as shared library, and I constructs a MBean that loads this shared native library and. the MBean use a native method to start communication with the native component C C++ , but when the native component use JNI to call Java methods in the MBean, the JVM c

[JBoss-user] [Management, JMX/JBoss] - JNI callback MBean's metheg problem

2004-04-07 Thread csidiki
I have a components written in C,C++ as shared library, and I constructs a MBean that loads this shared native library and. the MBean use a native method to start communication with the native component C C++ , but when the native component use JNI to call Java methods in the MBean, the JVM c

[JBoss-user] [Security & JAAS/JBoss] - Opening RMI to the Internet?

2004-04-07 Thread mgaert
We're thinking about a Swing client connecting to EJBs through RMI. All this accessible over the internet, not just some intranet. What do you think about opening up ports 1099, some fixed RmiData port, and the third port to 0.0.0.0/0? Is tunneling over HTTP a real alternative (security-wi

[JBoss-user] [Installation & Configuration] - Re: How do I set up JBoss

2004-04-07 Thread vijpan
I have the SUn JDK 1.4.2 but it also has the problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829706#3829706 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829706

[JBoss-user] [Installation & Configuration] - JBoss In Production -- What Configuration to look for

2004-04-07 Thread vijpan
Hi, We are planning to use JBoss 3.2.3 with bundled Tomcat 4.x. in Production environment. I was wondering if you guys have some advise that what different configuration files i should look for and make changes for a better performance. There could be around 100 concurrent users initially. Few

[JBoss-user] [HTTPD, Servlets & JSP] - Can web-uri point to any location outside application direct

2004-04-07 Thread tweise
jboss-3.2.2/Tomcat I would like to use a root directory for the web application which is located outside the application directory (and not named ending with .war). Sample: app.ear META-INF application.xml ejb1.jar ejb2.jar public_html When I put

[JBoss-user] [Installation & Configuration] - Default jboss 3.2.3 run reports an No suitable Log construct

2004-04-07 Thread andycraven
I installed jboss on a solaris 9 machine, running java version "1.4.0_00" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_00-b05) Java HotSpot(TM) Client VM (build 1.4.0_00-b05, mixed mode) define JAVA_HOME defined JBOSS_HOME Jboss attempts to start up and bails out with a 21:58:3

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking fails when field is null

2004-04-07 Thread amoro99
What version is this fix in View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829702#3829702 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829702 --- This SF.Net email

[JBoss-user] [Installation & Configuration] - JavaHelp Server-side Deployment

2004-04-07 Thread degriffing
I am using JavaHelp 2.0_01 within my web application, currently deployed using JBoss 3.2.3. I am encountering a very strange behavior. When I access my application from within my firewall, everything works as expected. When I access the application from the outside the firewall, the JSP that con

[JBoss-user] [Messaging, JMS & JBossMQ] - tibco JMS and JTA

2004-04-07 Thread sunh11373
Hi, Try to use tibco JMS with JTA, does anyone have experience? It seems that the session is not aware of the global transaction started by the JTA and always write to the destination queue. Here is a piece of code /** * @see javax.jms.MessageListener#onMessage(javax.jms.Message)

[JBoss-user] [Installation & Configuration] - Unable to start webserver in Jboss3.2.3

2004-04-07 Thread pravs
I downloaded Jboss-3.2.3 and executed the run.bat file. The server started but I am unable to send any request to http://localhost:8080/. I am getting a 'Page cannot be displayed' error. When I checked the server log, I can see the following error: WARN [org.jboss.system.ServiceController] Prob

[JBoss-user] [EJB/JBoss] - Re: how to initialize the size of EJB? Help!

2004-04-07 Thread Squeak
Per page 270 of the Admin and Devel guide, JBoss AS does not pre-seed the pool to the minimum size at startu-up -- if that is what you are trying to accomplish. anonymous wrote : The MinimumSize element gives the minimum number of instances to keep in the pool, although JBoss does not currently

[JBoss-user] [Nukes User] - Re: Basic Usage Documentation?

2004-04-07 Thread jmartinson
Bueller . . . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829694#3829694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829694 --- This SF.Net email is sponsored

[JBoss-user] [JCA/JBoss] - Datasource restricted access for a web context

2004-04-07 Thread mprivat
I am hoping this is a dumb question. I defined a datasource in a -ds.xml file and it is working fine. I have two webapps in two different contexts and I want to prohibit all access for only one of the two webapps. Is there an easy way to do this? Thanks! View the original post : http://www.jb

[JBoss-user] [Nukes User] - Re: how to register html as a component

2004-04-07 Thread natjohns
Does anyone know the answer to this? I am getting the same error :( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829691#3829691 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829691

[JBoss-user] [Installation & Configuration] - Re: how to avoid JNDI port conflicts at startup?

2004-04-07 Thread davekohr
Actually, most of the time it seems the process using port 1099 has something to do with CIFS (Windows network filesystem) access to mapped network drives. But thanks for the suggestion. This problem must come up often on Win2K systems. Is there a recommended solution? View the original post :

[JBoss-user] [Installation & Configuration] - Run JBoss in the Backend

2004-04-07 Thread marco.lara
I would like to know what do I have to do to Disable the Window that appears when I start running JBoss, since I'm not always interested in watching the log for the server. What I would like to do is manually start and stop JBoss but I want JBoss running in the backend. That's why I can't set J

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread Aristotle
ahh that fixed it, rebotting. So now I am back to where I started, without loggin in I only see the "Forums" module...is that correct? When I login in as admin/admin I can see the following Main Menu  Home Modules  Permission  Select theme  Manage groups  Index  Manage html  Ch

[JBoss-user] unable to start JBoss

2004-04-07 Thread rajesh
Hi I am unable to start Jboss . In the console it gives the following error message Depends On Me: , ObjectName: jboss.web:service=WebServer state: FAILED I Depend On: jboss:service=TransactionManager Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP LifecycleException: Protocol ha

[JBoss-user] [Beginners Corner] - How do I deploy a jsp file?

2004-04-07 Thread frocco
Hello, In tomcat I would move my directory to tomcat/webapps Where do I deploy in jboss? Under server I see directories all, minimal and default Thanks Frank View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829684#3829684 Reply to the post : http://www.jboss.

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread jae77
there is still a jboss instance running somewhere, which is why the "Port Already in Use" messages are appearing. even if you've killed the jboss process, you may need to reboot if it's a windows box to clear everything up. View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: message size

2004-04-07 Thread jianjia
Thank you very much for your help. I will try to find some alternative solutions myself. Cheers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829682#3829682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829682 ---

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread Aristotle
wow, this should be that hard. Went through the exact steps, which was what I did on first install, same steps, and now it is ciompletely hooped and I bet lots of errors starting jboss MBeans waiting for other MBeans: [ObjectName: jboss:service=WebService state: FAILED I Depend On: Depends

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread jae77
the nukes.ear and nukes-ds.xml file need to go in the JBOSS_HOME/server/default/deploy directory - i did say in my previous post to remove all nukes files EXCEPT those two from the "default" directory - which i now realize i probably should have said "deploy" directory, sorry. so here it is ag

[JBoss-user] [EJB/JBoss] - Re: JBoss cannot find

2004-04-07 Thread [EMAIL PROTECTED]
I finally found the problem. The problem was as the DeploymentException told me in the findByPrimaryKey method of one Entity. (the parameter was a String when it should have been an Integer). However JBoss was misleading me by idicating that the problem occured not in the entity that had the pr

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread Aristotle
Followed your instructions and it removed almost all the content that was there before and now its a very blank home page only showing the header and a messsage "file id is not indictaed". There are no "nukes" files under /usr/local/jboss-3.2.3/server/default, only folders. Removed nukes folder

[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM

2004-04-07 Thread Essington
first thing, the dsJndiName doesn't look quite right. it should be java:jaas/something in your case, maybe java:jaas/OpenbroadDS or whatever is in your openbroad-ds.xml file in the tag. you might also check for any other s that have a DatabaseServerLoginModule in them that may be misconf

[JBoss-user] [EJB/JBoss] - Re: JBoss cannot find

2004-04-07 Thread [EMAIL PROTECTED]
I've traced the problem to one entity. Right now I'm deploying with only 2 entities A and B. A is deployed before B. JBoss indicates that there is an error deploying B but this is not true. The error occurs while deploying A. I know this because if I deploy entity A only I got the error. If I

[JBoss-user] [JCA/JBoss] - Setting username and password on existing datasource

2004-04-07 Thread dheinecke
I work for a security company and we are going to be delivering our next product on JBoss. Our secure coding requirements dictate that usernames and passwords cannot be left in clear text on the filesystem. We are using a DB2 datasource but we cannot have the username and password in the -ds.x

[JBoss-user] [Management, JMX/JBoss] - Re: Restart a pool MBean

2004-04-07 Thread k2c
Hi to all! I have tried the rebind and unbind commands with no success. Below are the steps i have followed: 1. Went to the JNDIView in the console and it showed me an entry to the mbean CORE_DB like this: CORE_DB (class: org.jboss.pool.jdbc.xa.XAPoolDataSource) 2. Then i made a stop in the CO

[JBoss-user] [Security & JAAS/JBoss] - Re: Datasource not binding when trying to access DatabaseSer

2004-04-07 Thread antoine
excuse me for my advice that wasn't very good I succeed to silve my problem and I ah the same problem that you javax.security.auth.login.LoginException: javax.naming.NameNotFoundException: FwkDS not bound Fwkds is my mysql datasource. I add in my auth.conf my dsjndiname but noting hapened org

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread Aristotle
I just donwloaded the nukes-1.0.0-src.zip so are there any instructions for installnig from source? I see there are numerous build.sh scripts now View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829666#3829666 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread jae77
i just downloaded that file, and i don't see a jboss directory contained within it. what you'll want to do is the following: 1) create a directory under JBOSS_HOME/server/default called nukes 2) remove all "nukes" files from the JBOSS_HOME/server/default directory except for the following:

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread Aristotle
I "think" it is the prepacjaged binary since trhere is a jboss folder in the zip file nukes-1.0.0-mysql.zip But I followed the supposed instructions and installed jboss first? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829665#3829665 Reply to the post :

[JBoss-user] [Beginners Corner] - why jboss over tomcat?

2004-04-07 Thread frocco
Hello, I'm new to java web programming. Can someone explain to me what jboss is and why I would want to use it over tomcat? Thanks Frank View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829664#3829664 Reply to the post : http://www.jboss.org/index.html?modu

[JBoss-user] [Clustering/JBoss] - Re: Warning : Deployed as CLUSTERED but not a single cluster

2004-04-07 Thread ftftft
With the warning, it works in my cluster environment. I also tried to insert lines like the follow, but still get the same warning. Clustered BMP EntityBean clustered-entity-rmi-invoker

[JBoss-user] [Nukes User] - Re: Please Help, no modules visible except forums?

2004-04-07 Thread jae77
what "release" are you using? the source release, "binary only" release, or the one that comes pre-packaged w/ jboss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829661#3829661 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [Installation & Configuration] - Can any one direct me to configure jboss3.08 with oracle9i s

2004-04-07 Thread calffin
I use jboss3.08 and oracle9i release2 9.2.0.1. I don't know how to configure them to be work together succussfully. Configuring jboss3.08 with oracle9i is different from configuring 3.2.x with oracle9i because the configuration files under %jboss_home%\server\default\deploy are different in the

[JBoss-user] [HTTPD, Servlets & JSP] - Strange session behaviour?

2004-04-07 Thread Martin0
I have observed the following repeatable behaviour. The behaviour seems odd to me, but it may be correct. I have yet to try it on tomcat 5 standalone. This on JBoss 3.2.3 and 3.2.4RC2 The web app has 3 pages index.jsp restricted.jsp (protected with form based container auth) logout.jsp (does

[JBoss-user] [Performance Tuning] - Fastest way from ejbql Collection to ValueObject[]?

2004-04-07 Thread dhartford
Hey all, To date, I have been doing the following to cast my ejbfinder/ejbselects to value objects: ==code== | Collection codes = ahome.findAll(); | MyEntityLocal[] mycodes = (MyEntityLocal[])codes.toArray(new MyEntityLocal[0]); | | MyEntityLightValue[] myvo = new MyEntityLightValue[myco

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP/BMP or JDO/hibernate

2004-04-07 Thread richardzheng
We can use Session Bean with JDO or Hibernate O/R mapping instead of with CMP or BMP. It is said that CMP or BMP has poor performance. I am not sure that JDO or Hibernate O/R mapping has the same advantages as Entity Bean such as security and transaction. The homepage of JBoss.org shows that Hib

[JBoss-user] [Persistence & CMP/JBoss] - Entity taking forever to perform a findAll!

2004-04-07 Thread chadlavy
Hi, I have an entity bean that has a table behind it with only ~1400 records. A normaly command line SQL query on this table takes no time to get all the rows back. JBoss 3.2.3 on Win2000 times out on a 20 minute transaction, however. The table has a two-part key and no relationships. JBoss kee

[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM

2004-04-07 Thread fheldt
Yes, i meant xdoclet, sorry for confusion. Does your webservice.xml contain lines like the following? | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829657#3

[JBoss-user] [Persistence & CMP/JBoss] - Entity Bean And Hibernate

2004-04-07 Thread richardzheng
Hibernate is O/R mapping, making ralational database acting as object-oriented database. Can it replace entity bean in EJB? What's differnce between entity bean and hiernate object class? Any replies are appreciated. Richard View the original post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Nukes User] - Please Help, no modules visible except forums?

2004-04-07 Thread Aristotle
Dont seem to have any modules for a new install and the instructions about running ./build.sh deploy-components from the nukes directory doesnt work cause there is no build.sh file anywhere?? RH 9, J2ee 1.4, mysql 4.0.18, nukes 1.0.0-mysql. 1: Setup nukes database OK 2: Copied the followi

[JBoss-user] [Clustering/JBoss] - Re: Warning : Deployed as CLUSTERED but not a single cluster

2004-04-07 Thread darranl
Is your container part of a cluster? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829653#3829653 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829653 --- This SF.

[JBoss-user] [Clustering/JBoss] - Warning : Deployed as CLUSTERED but not a single cluster

2004-04-07 Thread ftftft
I am using JBoss3.2.3 when i try to deploy CMP entity bean in cluster mode jboss gives warning 'Deployed as CLUSTERED but not a single clustered-invoker is bound to container ' during deployment of all my entity beans. here is the jboss.xml config for my entity bean: Country local/Country Tru

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with relation between EJBs

2004-04-07 Thread cane74
Hi. To be exact - access to LDAP is done via BMP bean, not CMP. I tried to establish a relation between BMP and CMP and I couldn't. Is it possible at all? Regards, Bart View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829647#3829647 Reply to the post : http

[JBoss-user] [EJB/JBoss] - JBoss cannot find

2004-04-07 Thread [EMAIL PROTECTED]
I've got a strange problem and may be someone can help me if he/she has faced the problem before. I've got the following deployment exception: 16:22:18,453 INFO [EntityContainer] Started jboss.j2ee:jndiName=anEJBNameWhatever,service=EJB 16:22:21,187 ERROR [EntityContainer] Starting failed org.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: FoeDeployer and ConnectionFactory's

2004-04-07 Thread [EMAIL PROTECTED]
Yes, but you will have to create the Queues/Topics by hand. Just copy the jbossmq-destination-service.xml and modify it. The users and roles are configured in conf/jbossmq-state.xml Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829643#3829643

[JBoss-user] [Beginners Corner] - Mail Service

2004-04-07 Thread javamac
Currently I am using a WebApplication that requires a Mail Service to be at jndi location java:comp/env/Mail. By default JBOSS Mail is at java:/Mail. How can I change this to be at java:comp/env/Mail. I tried making the change directly to the element in mail-service.xml to no avail. Am I mis

[JBoss-user] [Management, JMX/JBoss] - Re: env not bound

2004-04-07 Thread [EMAIL PROTECTED]
By "it" I meant the ejb. It is deployed at by default or if you want the local home it is local/ unless you change it in jboss.xml ENCs are special contexts only valid inside an EJB bean or web application. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-04-07 Thread emmaueze
I have got JBoss-3.2.4RC1 and succeeded in generating the encryted password but Jboss keep throwing the following exception each time I try to access a page that makes a DB connection via JNDI : java.lang.SecurityException: Invalid authentication attempt, principal=null I added the following lin

[JBoss-user] [EJB/JBoss] - Update

2004-04-07 Thread [EMAIL PROTECTED]
I my previous post I made a mistake. The entity (let call it entity A) that is failling is not the last only defined in jbosscmp-jdbc.xml but it still fails. Interestingly enough if I add another entity (entity B) in the last position, the entity B fail and not A. I have already used entity

[JBoss-user] [JCA/JBoss] - Re: Connection to SAP using JRA/JCA

2004-04-07 Thread [EMAIL PROTECTED]
Can you post your version that works (with your personal information changed to generic values). And say which version of the RA and SAP it works with.. I will add to the examples for others to use. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Management, JMX/JBoss] - Re: env not bound

2004-04-07 Thread Berritxu
I'm sure this question is a bit silly, but... How can I look up the ENC in global jndi? There's anywhere a good tutorial about this? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829638#3829638 Reply to the post : http://www.jboss.org/index.html?mod

[JBoss-user] [Persistence & CMP/JBoss] - Re: entity-command pk-generation hsqldb-fetch-key

2004-04-07 Thread schlumpf
jupp, it runs :-) thanks schlumpf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829634#3829634 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829634 --- T

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: FoeDeployer and ConnectionFactory's

2004-04-07 Thread timkk
Ok, you are right. I only want to know, if there you can affect the migration condition, so that the migration tool migrates the ConnectionFactory's from the weblogic to jboss. Thanxs tim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829632#38296

[JBoss-user] [Persistence & CMP/JBoss] - Datasource Username/Password

2004-04-07 Thread michaellee
Hi, If a datasource contain confidential information, i feel better not to specify username/password in the datasource configure file and request the application to provide this information when getConnection(). By doing this, just getting the JNDI name of the datasource cannot retrieve informa

[JBoss-user] [JCA/JBoss] - Re: Connection to SAP using JRA/JCA

2004-04-07 Thread dovb
I made some tests and discovered that instead of using and I should use: and I think the example XML file in JBoss docs was wrong... Thanks Dov View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829625#3829625 Reply to the post : http://www.jboss.org/i

[JBoss-user] [EJB/JBoss] - Re: Catching deploy/undeploy event.

2004-04-07 Thread Kees van Dieren
I found something with might make it possible, but it's in J2EE 1.4 which still is only partly implemented in the JBoss 4 Development release. I've reviewed the apidoc @ http://java.sun.com/j2ee/1.4/docs/api/index.html, and ProgressEvent, ProgressListener and ProgressObject might do the job (but

[JBoss-user] cache invalidation commit options

2004-04-07 Thread Bruce Ashton
Can the cache invalidation service be used with commit option D? In the documentation it states that you can only use it with commit option A, but there seems to be no reason why you couldn't use it with D as well. Bruce Ashton Senior Developer INTEGRALIS Your Trusted Security Partner Theale Ho

[JBoss-user] [EJB/JBoss] - Re: Problem accessing bundled text file

2004-04-07 Thread jhd
Thanks Adrian. That works. jhd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829619#3829619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829619 --- This SF.Net

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

2004-04-07 Thread richardzheng
Hello Adrian, Thank you for your reply. I found webdefault.xml instead of web.xml in jbossweb-jetty.sar because I used JBoss3.2.1. But there are no settings for logging. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829618#3829618 Reply to the po

[JBoss-user] [EJB/JBoss] - Re: Catching deploy/undeploy event.

2004-04-07 Thread jae77
yes this can be done for ejbs and such, but i'm not sure how easy the process would be to hook into the tomcat deployer (or jetty if you are using that instead). to detect that you've undeployed an ear/jar/etc you could write a custom mbean that registers itself w/ the deployer (not the main dep

[JBoss-user] [Persistence & CMP/JBoss] - JBoss CMP MySQL and Auto-Increment Keys - with Relationships

2004-04-07 Thread mpforste
I am having problems getting JBoss talking correctly with the MySQL database and an autoincrement Primary Key. DB = Create Table `TransType` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `tt_desc` VARCHAR(50) NOT NULL, PRIMARY KEY ( `id` ) ); on another table there is a field tr_type

[JBoss-user] [Management, JMX/JBoss] - Re: ClassCastException when invoking MBean Operation JBoss 3

2004-04-07 Thread AndrewBoyd
The try catch worked. Now the stack trace show where it's crashing in my code. Thank you Adrian, Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829608#3829608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382

[JBoss-user] [Nukes User] - Re: [jmx-console]Protect this command

2004-04-07 Thread cooper
look here : http://jboss.org/wiki/Wiki.jsp?page=SecureTheJmxConsole View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829607#3829607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829607 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 processes and SocketManager

2004-04-07 Thread bergerarnaud
Thanks a lot Adrian, I wasn't aware of it ! So , should I install 3.2.4 RC1 or is it a way for me to upgrade 3.2.3 release with this modified class ? Best regards, Arnaud View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829605#3829605 Reply to the post

[JBoss-user] [Installation & Configuration] - Problem starting service jboss.jmx:name=SnmpAgent

2004-04-07 Thread jakfutaz
I'm new to JBOSS and to java, I have downloaded and installed j2sdk1.4.2_03 and jboss-3.2.3 as explained in the Getting Started document. When I try and execute the run.bat file I get the following error! Please help, I'm really eager to start learning and using JBOSS and java in general. 2004

[JBoss-user] [JCA/JBoss] - Re: property configuration for datasource

2004-04-07 Thread miani
thanks! worked great. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829602#3829602 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829602 --- This SF.Net email is sp

[JBoss-user] [Security & JAAS/JBoss] - principalsQuery and rolesQuery

2004-04-07 Thread ereze
Hi, This kind of a newbie question. I have two entities Employee and User both have 'username' field. The username is unique in the namespace of two combined. Currently I have the following in my login-config.xml (using DatabaseServerLoginModule) | select password from users where usern

[JBoss-user] [JCA/JBoss] - Re: property configuration for datasource

2004-04-07 Thread [EMAIL PROTECTED]
You are editing in an xml file you need to replace & with & Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829600#3829600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829600

  1   2   >