[JBoss-user] [JCA/JBoss] - Re: configure oracle 9.2.0.4 datasoure on Jboss error

2004-04-13 Thread jackytang
I have tried everthing I can, finally I copy the oracle-jdbc2-service.xml again from /doc/examples/jms then there is no more error message. So I think the problem is that I have edited the file of oracle-jdbc2-service.xml by the wordpad and save it as text style. View the original post : http:/

[JBoss-user] [Security & JAAS/JBoss] - Re: j_security_check & Struts

2004-04-13 Thread ant
Your question isn't stupid, I was dealing with the same problem. anonymous wrote : Is j_security_check a function/module/method/page/whatever in tomcat? Or is it some slight of hand that I am not understanding? The action j_security_check is part of the form-based authentication and thus is part

[JBoss-user] [JCA/JBoss] - Re: configure oracle 9.2.0.4 datasoure on Jboss error

2004-04-13 Thread jackytang
I also try to use oracle-ds.xml to replace oracle-xa-ds.xml file. And I make change of files as below and got the same error message ---oracle-ds.xml-- DefaultDS jdbc:oracle:thin:@172.30.1.6:1521:geo3pl oracle.jdbc.driver.OracleDriver nhweb

[JBoss-user] [Performance Tuning] - Re: Serious performance issue using Oracle 9.2.0.4 and RAC/T

2004-04-13 Thread mathewdenis
This is due to less Internet bandwidth of ISP. Increase the Internet bandwidth to avoid this problem. If Internet bandwidth goes down all the request gets qued up and eat all the virtual memory of the server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830

[JBoss-user] [Nukes User] - Re: JSP's?

2004-04-13 Thread nickf
Yes, It'd be helpful if someone could clarify how we can use JSPs in Nukes or in which module such functionality is to be provided. Nick View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830511#3830511 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Persistence & CMP/JBoss] - Re: Primary Key Generation for SQL2000 and JBoss 3.2.3

2004-04-13 Thread Rolf
Well I figured it out. I only needed to change the jbosscmp-jdbc file at the highlighted areas and also of course needed to define the field on the sql server to identity. That's all ... I'm impressed Cheers Rolf anonymous wrote : | | http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.

[JBoss-user] [Installation & Configuration] - Installing an 'embedded' JBoss

2004-04-13 Thread artware
Hi! Can I install the JBoss as an embedded app.server. e.g. in my project I have to install JBoss to a server where may be several othewr app.servers. I assume that the ports may cause conflicts, what else? I would wan't to install JBoss in such way that there is no conflict e.g. with JNDI,

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Which factory for HA-JMS from Java client?

2004-04-13 Thread abhaybadhe
try XAConnectionFactory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830508#3830508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830508 --- This SF.Net email is

[JBoss-user] [Messaging, JMS & JBossMQ] - Configure MDB thread pool

2004-04-13 Thread andresangelani
Is there a way to configure the thread pool on a particular MDB that's constantly listening from a queue? Does JBossMQ work with a global thread pool for MDBs? Where is the config param to alter??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830507#3830

[JBoss-user] [JCA/JBoss] - Specifying an Oracle database schema for CMP beans

2004-04-13 Thread shanika
Hi, I'm sort of new to EJBs. I am working with CMP beans that uses JBOSS 4.0 as the application server and Oracle8i as the database. I am able to create and deploy a simple CMP bean that creates a table in the Oracle databse. In my Oracle-ds.xml i have given the database configuration including

[JBoss-user] [JCA/JBoss]Managed connection Factory not found with mysql

2004-04-13 Thread biswaranjan
hello , i am using jboss-3.2.2RC3 with mysql version 3.23.36 . All the time i am getting Managed Connection not found exception after running my application for sometime and that time when i am checking connection available variable , its showing Zero( 0 ) .. I am not getting a propeer solu

[JBoss-user] [HTTPD, Servlets & JSP] - How can get Web Container "Current" Request instance?

2004-04-13 Thread Williamwang
hi: When in a servlet call a general JavaBean instance method. In this method,it is possible to know which Request instance call this method? I think the request is in an individual thread,if know current thread,in theory,we can know current request instance. maybe the by web container or contex

[JBoss-user] [Nukes User] - Page title

2004-04-13 Thread micho2001
hi! How can I change the title of pages posted on Nukes html module? My title thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830504#3830504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830504 -

[JBoss-user] [Nukes User] - JSP's?

2004-04-13 Thread micho2001
Hi! Does anyone know if JSP support is already built in into Nukes? Or is that what the script module will provide? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830503#3830503 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [JCA/JBoss] - Re: configure oracle 9.2.0.4 datasoure on Jboss error

2004-04-13 Thread jackytang
"[EMAIL PROTECTED]" wrote : You have created an XA connection manager for the xa datasource, | but you are referencing a non-existent local connection manager in you | oracle-jdbc2-service.xml | | Change LocalTxCM to XATxCM | | You don't need an XADataSource for JMS persistence (the

[JBoss-user] [Persistence & CMP/JBoss] - Primary Key Generation for SQL2000 and JBoss 3.2.3

2004-04-13 Thread Rolf
Hi guys, I was browsing this forum a lot regarding a solution for the Generated Primary Key Problem. I found a few for mysql solutions but nothing concrete for SQL2000. I tried to modify some MySql examples but always ran into problems. Is there anyone out there which could kindly provide me a

[JBoss-user] [Installation & Configuration] - Google Search Appliance

2004-04-13 Thread rtafaro
We are testing the Google search appliance on our intranet and are running into some issues after we crawl the site. I have the google appliance set to use 3 threads. Even when I change it to 2 threads, I see the same results. Our intranet is on IIS and there is a JKConnector to connect our ja

[JBoss-user] [Security & JAAS/JBoss] - ConfiguredIdentityLoginModule with Oracle DS

2004-04-13 Thread lshepherd
Every time I call getConnection() on the oracle ds, i get "Authentication exception: principal=null. Can anyone tell me what I'm doing wrong? Here's the code that tries to obtain the connection: ctx = new InitialContext(); | DataSource ds = (DataSou

[JBoss-user] [Persistence & CMP/JBoss] - Is anyone using OracleValidConnectionChecker in Production?

2004-04-13 Thread objecfirepod
Is anyone using OracleValidConnectionChecker in Production? Does it add much overhead? Any problems with it? Any recommendations for the rest of us? thanks. .peter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830491#3830491 Reply to the post : http://www

[JBoss-user] [Security & JAAS/JBoss] - Re: login-config.xml's

2004-04-13 Thread [EMAIL PROTECTED]
A security-domain must be provided. There is no current notion of a default global default security-domain. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830490#3830490 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-13 Thread [EMAIL PROTECTED]
A class file cannot be infected by virus based on platform native code due to the fact that the byte code is interpreted by the vm and all that could have happened is that the bytecode has been modified. The jboss-3.2.3 md5sums are on http://jboss.org/downloads which can be used to validate the

[JBoss-user] [Installation & Configuration] - Threading Problems on RedHat 9.0 - Please Explain...

2004-04-13 Thread objecfirepod
Would someone please explain the problems that have been reported on RedHat 9.0? In specific, is what kind of symptoms have been seen? And does anyone know what the root cause is - the VM or the OS? It sounds like the fix is to set LD_ASSUME_KERNEL to 2.4.1. Has anyone experienced any side eff

[JBoss-user] [Security & JAAS/JBoss] - Re: Problem with login-config.xml

2004-04-13 Thread [EMAIL PROTECTED]
The login-config.xml has been corrputed and failed to parse as an xml file so its being treated as the sun ascii file format and failing. Look in the server.log for the original xml problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830487#3830487 Repl

[JBoss-user] [Security & JAAS/JBoss] - Re: jaas_howto on 3.2.4 reports different user to 3.2.3

2004-04-13 Thread [EMAIL PROTECTED]
The 3.2.4RC1 behavior is the correct behavior and is the behavior seen in the ejb container all along. Since the caller has a caller principal mapping, this is what should be returned. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830486#3830486 Reply to th

[JBoss-user] [JBoss Getting Started Documentation] - Chapter 5 JMS example fails

2004-04-13 Thread jack-k
I can deploy the simplemessage.jar, but when I run the client I get the following: == C:\j2eetutorial\examples>ant -f jboss-build.xml run-mdb Buildfile: jboss-build.xml run-mdb: [java] JNDI lookup failed: javax.naming.NameNotFoundException: Simple

[JBoss-user] [EJB/JBoss] - Re: NoSuchObjectLocalException

2004-04-13 Thread jchang
Hello Sesques. I appreciate your help. Here is a snippet of code. As you can see, the addAttendance of this STATELESS bean is calling the findAttendance method with an specific memberId and timeSlotId. In the logs, I can see that two threads are calling this method almost at the same time but

[JBoss-user] [JCA/JBoss] - Re: Problem with XA and Oracle

2004-04-13 Thread selvaatusa
I have the same error..do you any solutions for it Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: enlistResource failed; - nested throwable: (javax.resource.ResourceException: View the original post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [EJB/JBoss] - Re: RMI callback

2004-04-13 Thread davidm
I have your example code working. When running the code, I got the same exception on the client, however there also was a class loader exception in the sever log related to the the stub (sorry, renamed your test class to fit in with our other tests) 16:37:09,218 ERROR [STDERR] java.lang.Clas

[JBoss-user] [EJB/JBoss] - Re: error of deploy

2004-04-13 Thread carlosgyn
Interesante that any archive .jar that I to try to make deploy error happens the same. I would not have that to modify some archive .xml of the JBOSS? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830468#3830468 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Beginners Corner] - Re: JBoss Audit?

2004-04-13 Thread jkim9
I am not sure what level it needs to be yet... Adrian, you mentioned about network level using OS tools (win2k pro?) and the protocol level... Are there documents or examples on both levels that i can look at? thanks in advance... View the original post : http://www.jboss.org/index.html?modul

[JBoss-user] [Nukes User] - Re: Howcome Template module only shows when logged in as adm

2004-04-13 Thread henrikandoff
I added it to the menu-block-service.xml and re-built. The file ended up in /server/default/nukes. However, the module still didn't show up in the Main Menu block. Adding it with the jmx-console did it, though. Thank's for the help. View the original post : http://www.jboss.org/index.html?modul

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss register Weblogic Topic mini-howto

2004-04-13 Thread ftftft
My solution is not good enough as a patch, but it works. I post it here and hope someone can make it better. 1. write a new WeblogicMQProvider.java. Use source code from ./server/src/main/org/jboss/jms/jndi/JBossMQProvider.java. but change the method getInitialContext() to provide weblogic JN

[JBoss-user] [Persistence & CMP/JBoss] - Avoid JBoss caching during transaction

2004-04-13 Thread hehewei
Hi, Does anyone have experiences in turning off entity bean caching during a transaction, not in between? We are generating 100,000 entity beans within a transaction, and it's eating up a great amount of system resources. We've used standard CMP entity bean cache policy and instance per transac

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS 3.2.3 with Linux Red hat 9 and java 1.4.2...

2004-04-13 Thread mwaltz1
When you refer not "work[ing] correctly with java" do you mean the Sun vm in particular or all vms? The prior post mentions Blackdown -- has there been a better experience with Blackdown? Thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830463#3830463 R

[JBoss-user] [Installation & Configuration] - Re: Configuring jboss 3.2.3 for MS SQL2000. ** Help required

2004-04-13 Thread sesques
That's it ! You cannot delete the hypersonic database because it is used by the persistence manager and other stuff... The mysteries of JBoss ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830457#3830457 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [EJB/JBoss] - Re: NoSuchObjectLocalException

2004-04-13 Thread sesques
Your problem is not a part of EJB or whatever specification. Having a thread deleting rows while another list the rows is a business problem. The whole solution for handling that is a combination of transaction, reentrance and lock mechanism. The lock mechanism is not a part of EJB spec, but app

[JBoss-user] [JCA/JBoss] - Re: Reliability of ManagedConnectionPool values in jmx-conso

2004-04-13 Thread [EMAIL PROTECTED]
It is a bug in the stats for 3.2.3 Here is the fix available in 3.2.4RC1 http://cvs.sourceforge.net/viewcvs.py/jboss/jbosscx/src/main/org/jboss/resource/connectionmanager/JBossManagedConnectionPool.java?r1=1.8.2.15&r2=1.8.2.16 Regards, Adrian View the original post : http://www.jboss.org/index.

[JBoss-user] [Beginners Corner] - Re: Do you know documentation abaut:

2004-04-13 Thread Frank Lemke
The application was build with jbuilder and I have just an *.exe-file. The application throws no exception at all - they are all catched I think. I have now tried to learn with a little self-made application to test it. It goes. Yes, I have set the .properties correctly. But if I try to get the

[JBoss-user] [JCA/JBoss] - Reliability of ManagedConnectionPool values in jmx-console

2004-04-13 Thread treespace
The console reports these values for my connection pool: AvailableConnectionCount: 20 ConnectionCount: 5 MinSize: 5 MaxConnectionsInUseCount: 8 MaxSize: 20 InUseConnectionCount: 36 ConnectionCreatedCount: 2688 ConnectionDestroyedCount: 2683 Everything looks AOK with the exception of InUseConnect

[JBoss-user] [Installation & Configuration] - How to disable all web access features and use JBOSS primari

2004-04-13 Thread r_rangana
Hi there, We would like to disable all web access to JBOSS due some security reasons. I am not sure how to go about this. Please let me know the proper way of doing this. We are using JBOSS 3.2.3 on Solaris 8, with multiple instances running. We have multiple Swing clients that connect to EJB

[JBoss-user] [EJB/JBoss] - Re: NoSuchObjectLocalException

2004-04-13 Thread jchang
Hello Vikas, Thanks for replying. I am kind scared that this will be a valid behaviour because if I am executing a findBy method that is NOT read-only and has a transaction type "Required" then I better have the lock to do whatever I want with that bean. Nobody can do a findBy... on the

[JBoss-user] [Clustering/JBoss] - Singleton classloader (how to start an HASingletonMBean from

2004-04-13 Thread pyramid6
I need my singleton to have it's own classloader, I can't just throw my jar file and cluster*service.xml file into the farm directory. I have other ear files with there own classloaders and some of the code from the jar file mismatches. How do I get the singleton into it's own classloader? I

[JBoss-user] [Advanced Documentation] - Re: You have got to be kidding me...

2004-04-13 Thread jae77
last time i checked, the "unzip" command in unix/linux could unzip .zip files. also, winzip has no problems taking a tar.gz / .tgz file and uncompressing it as well. not sure why they offer 2 distinct versions tho. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Installation & Configuration] - JBoss deployment issues in production

2004-04-13 Thread soshah
I have an intranet system that was just released in a production environment the configuaration is as follows: JBoss version: JBoss 3.0.8 Database: MySql Operating System: Windows 2000 Professional Machine: Dell with 512 MB of Memory and 2.19 GHz Processor I have noticed that my intranet applica

[JBoss-user] [Performance Tuning] - JBoss Production deployment problems

2004-04-13 Thread soshah
I have an intranet system that was just released in a production environment the configuaration is as follows: JBoss version: JBoss 3.0.8 Database: MySql Operating System: Windows 2000 Professional Machine: Dell with 512 MB of Memory and 2.19 GHz Processor I have noticed that my intranet applica

[JBoss-user] [Installation & Configuration] - JBoss deployment issues in production

2004-04-13 Thread soshah
I have an intranet system that was just released in a production environment the configuaration is as follows: JBoss version: JBoss 3.0.8 Database: MySql Operating System: Windows 2000 Professional Machine: Dell with 512 MB of Memory and 2.19 GHz Processor I have noticed that my intranet applica

[JBoss-user] [EJB/JBoss] - Re: NoSuchObjectLocalException

2004-04-13 Thread chawla1975
Hi, I guess this is valid behaviour as if you have two threads accessing the same entity bean with one deleting the row in the database, the other is bound to recieve the exception. Transaction behavior won't help as its not an exclusive usage of the entity bean instance. Transaction only helps

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

2004-04-13 Thread natjohns
"sgwood" wrote : | This means that the html module MBean did not deploy correctly when the Nukes.ear started. It is likely that it did not initialize properly. Since this is part of core Nukes, this is strange. Is there anything in the startup logs about problems? | | | Sherman i was

[JBoss-user] [Messaging, JMS & JBossMQ] - Which factory for HA-JMS from Java client?

2004-04-13 Thread [EMAIL PROTECTED]
I get the following exception using HAILXAConnectionFactory or HAILConnectionFactory from a remote Java client. When I add -Djava.security.manager, I cannot even connect to the server via the HA-JNDI Context. Please advise on which connection factory JNDI name to use from 3.2.4RC1. tia javax.

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Unable to compile class for JSP.

2004-04-13 Thread sendres2
Sorry. Forgot one HTML page (where the properties are set): | | | | | Continue | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830440#3830440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [HTTPD, Servlets & JSP] - Unable to compile class for JSP.

2004-04-13 Thread sendres2
I want to test my configuration (JBOSS 3.2.3) with a very simple HTML form > JSP > bean example. The code I'm using is: HTML Page to collect information | | | What's your name? | What's your e-mail address? | What's your age? | | | | | Java Bean to get information:

[JBoss-user] [EJB/JBoss] - Re: error of deploy

2004-04-13 Thread chawla1975
as the error says, u do need to put role-name tag in your method permission element. it should look like guest ... hope this helps View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830434#3830434 Reply to the post : http://www.jboss.org/index.html?mod

[JBoss-user] [Installation & Configuration] - Re: Jboss only works with local clients on Linux

2004-04-13 Thread PhilC
I have a similar problem. >From linux to linux the application works fine. But when I access JBoss running on >Linux from other machines running WinXP and Win2K the client hangs or fails to >deserialize Objects. Any Ideas? All machine are running Java 1.4.2_04 specific to their OS. Is it a Java

[JBoss-user] [Beginners Corner] - How do I read a properties file in WEB-INF?

2004-04-13 Thread frocco
Hello, How do I read a properties file in WEB-INF without hard-coding a path? I tried: Properties properties = new Properties(); properties.load(new FileInputStream("db.properties")); driver = properties.getProperty("driver"); but it cannot find the db.properties file. Thanks for the help. Fra

[JBoss-user] [EJB/JBoss] - NoSuchObjectLocalException

2004-04-13 Thread jchang
Hello everybody, I have two threads executing a findby method (from an entity bean) almost at the same time in a STATELESS session bean but one of them is deleting a record in the database. Thus, the other one complains with the following error: javax.ejb.NoSuchObjectLocalException: Entity

[JBoss-user] [Advanced Documentation] - Re: Where to buy the docs?

2004-04-13 Thread CSourceChrisB
ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be able to directly download the docume

[JBoss-user] [Performance Tuning] - JNDI, MBeans and JNP

2004-04-13 Thread bie-developer
We are having performance issues with JNDI lookups and JSP compilation. This is primarily a problem on Windows, testing on Linux has shown good enough performance. It can take up to 25 sec. to complete this lookup: 10:59:24,328 DEBUG [org.jboss.mq.referenceable.SpyDestinationObjectFactory] SpyDe

[JBoss-user] [Testimonials] - JBoss at ChemConnect

2004-04-13 Thread JeffGordon
I know this is kind of an obscure area of the forums but these are questions and responses based on a request from the JBoss PR folks quite some time ago and since nothing ever became of it I thought I would share it here. JBoss has been an absolutely outstanding product and I continue to look

[JBoss-user] [Advanced Documentation] - Re: Unable to download the documentation

2004-04-13 Thread CSourceChrisB
ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be able to directly download the docume

[JBoss-user] [Advanced Documentation] - Re: JBoss Doc on Non-Windows Computers?

2004-04-13 Thread CSourceChrisB
ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be able to directly download the docume

[JBoss-user] [Advanced Documentation] - Re: I bought Advanced Docs, how to I get updates?

2004-04-13 Thread CSourceChrisB
ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be able to directly download the docume

[JBoss-user] [Advanced Documentation] - Re: Unix Documentation asks to download CSWebDownload.exe

2004-04-13 Thread CSourceChrisB
ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be able to directly download the docume

[JBoss-user] [Advanced Documentation] - Re: UNIX vs. Windows Documentation Difference

2004-04-13 Thread CSourceChrisB
ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be able to directly download the docume

[JBoss-user] [Advanced Documentation] - Re: Win32 download option is ridiculous

2004-04-13 Thread CSourceChrisB
ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be able to directly download the docume

[JBoss-user] [Advanced Documentation] - Re: What's with the documentation?

2004-04-13 Thread CSourceChrisB
ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be able to directly download the docume

[JBoss-user] [Advanced Documentation] - Re: You have got to be kidding me...

2004-04-13 Thread CSourceChrisB
You might be interested to know that ComponentSource has added a "Unix Edition" to all JBoss documentation in the JBoss store. If you select the Unix Edition when purchasing JBoss documentation, you will not be required to download a Windows executable file as part of the download. You will be

[JBoss-user] [Beginners Corner] - Serving compiled servlet to root context but not found

2004-04-13 Thread iamneil
hi, I have looked around and not yet found a solution for this situation. I have jboss 3.0.4. I have made my jboss-web.xml in the WEB-INF folder. | http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd";> | | / | abc.domain.com | and specified Home.jsp as the first welcome file in bo

[JBoss-user] [EJB/JBoss] - Re: Loading classes via reflection and NoClassDefFoundError

2004-04-13 Thread nickman
David; You need to delegate the class loading to the cloass loader for the deployment that FruitHarvester was loaded by. The NoClassDefFoundError error is caused by same classes being loaded by two seperate class loaders. Make your custom class loader delegate to: fruitHarvester.getClass().g

[JBoss-user] [EJB/JBoss] - Re: LIKE keyword in ejb ql with an input parameter CANT MAKE

2004-04-13 Thread [EMAIL PROTECTED]
Horay Horay Horay !!! that works beautifully. I no wish I should have looked closer at the jboss specific way to override finders I am new to JBoss and EJB in general. I suppose the spec does not specifically give an example of using input params in finders with LIKE... I am off to ask som

[JBoss-user] [EJB/JBoss] - Re: LIKE keyword in ejb ql with an input parameter CANT MAKE

2004-04-13 Thread sesques
Sorry for the last response. In fact my code does not work, it return nothing like yours. Regarding the EJB spec, nothing in the spec says that the LIKE keyword in EJB-QL statement must work with input parameters. The only example is with literal strings. So the LIKE statement in EJB-QL is usele

[JBoss-user] [EJB/JBoss] - Re: Loading classes via reflection and NoClassDefFoundError

2004-04-13 Thread dlamotta
No, I am not using Class.forName. I am using ClassLoader.defineName. I believe the problem stems from the ClassLoader. Although it does not solve my original problem, using Thread.currentThread().getContextClassLoader().loadClass() alleviates the problem a little bit. For this, I have to put

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ERROR [org.jboss.mq.pm.jdbc2.PersistenceManager] Startin

2004-04-13 Thread vijayk
When you mentioned JAAS config, I realized I put some entries in $JAVA_HOME\jre\lib\security\java.policy file. Restoring the file to its original content did the trick. Though it makes sense, I have no clue how this percolates up to PersistenceManager in JBoss but hey it works now. Thanks Adrian

[JBoss-user] [EJB/JBoss] - Re: Loading classes via reflection and NoClassDefFoundError

2004-04-13 Thread triathlon98
How are you loading your classes? Are you using Class.forName ? If you are, then that may be the cause of your problems. In JBoss you should not use the system classloader, as that one does not handle the hot deployment, the UnifiedClassloaders et al. You should use Thread.currentThread().getCo

[JBoss-user] [Beginners Corner] - Re: jndi configuration for mysql DB

2004-04-13 Thread myqyl4
Thanks!! Worked like a charm. paul View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830403#3830403 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830403 --- This SF.N

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ERROR [org.jboss.mq.pm.jdbc2.PersistenceManager] Startin

2004-04-13 Thread [EMAIL PROTECTED]
Fix what? You have changed/broken your datasource or login-config.xml configuration but you haven't posted it (I am not psychic). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830402#3830402 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ERROR [org.jboss.mq.pm.jdbc2.PersistenceManager] Startin

2004-04-13 Thread vijayk
Thank you! Could you help me fix this please. If the answer is going to be RTFM, could some one point me to a link/document - I am having a hard time finding resources related to this exception. Thanks again, Vijay Kandy View the original post : http://www.jboss.org/index.html?module=bb&op=vi

[JBoss-user] [JBoss.NET & SOAP] - Doc/Literal style with JBoss

2004-04-13 Thread james.clover
Has anyone gotten document/literal style to work under JBoss? I've tried just enough to get some frustration out of it, and I can't seem to get it to work. I've added style="document" use="literal" to my web service definition in my web-service.xml file within my .wsr within my .ear (lots of

RE: [JBoss-user] [Beginners Corner] - Re: Best book to learn EJB?

2004-04-13 Thread Neil Mendoza
I'd say that "Head First EJB" is the best book. It's the only EJB book I've read which doesn't put me to sleep. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nickman Sent: 13 April 2004 13:02 To: [EMAIL PROTECTED] Subject: [JBoss-user] [Beginners Corner

[JBoss-user] [Beginners Corner] - Re: Best book to learn EJB?

2004-04-13 Thread frocco
Thanks you Regards, Frank View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830399#3830399 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830399 --- This SF.Net email

[JBoss-user] [EJB/JBoss] - mySQL library issue in multiple ear files

2004-04-13 Thread katazan
Greetings Marc and co. I am having a tricky issue with multiple ear files being deployed to JBoss 3.2.1 default. Consider the structure of this deployment: ear1 -META-INF - application.xml -lib mysql.jar -ejb1.jar -ejb2.jar -war1.jar -war2.jar ear2

[JBoss-user] [Nukes User] - Charaset configuration

2004-04-13 Thread dragon
I'm trying to change the Charaset of the JBoss Nukes. How can I change it? Any infomation is greatly appreciated! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830397#3830397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Beginners Corner] - Problem calling a Class after Hot Deployment.

2004-04-13 Thread kblood
I have a .jar file with several EJBs: 2 MDBs, 1 Stateless Session Bean, and several standard classes. I am running JBoss 3.2.3, JDK 1.4.2, Windows 2000. Now, I have one of my MDBs listening to a Queue. If I send a message to that queue, and the .jar was deployed with the start-up of the JBoss, i

[JBoss-user] [EJB/JBoss] - Re: [XmlFileLoader] failed to load jboss.xml (second attempt

2004-04-13 Thread dmitry_ame
That's funny, I can't even find my own posting any more. The watch topic does not work as well. How useful is this forum after all. Sorry guys, I'm loosing faith here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830394#3830394 Reply to the post : http:/

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

2004-04-13 Thread kriscott
You are absolutely right. I am kind of clueless to which forum my question should be posted to. I will try enabling the logging for those packages as you have recommended. Thanks for your quick response anyway. I appreciate it. View the original post : http://www.jboss.org/index.html?modul

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

2004-04-13 Thread sgwood
This means that the html module MBean did not deploy correctly when the Nukes.ear started. It is likely that it did not initialize properly. Since this is part of core Nukes, this is strange. Is there anything in the startup logs about problems? Sherman View the original post : http://www.jb

[JBoss-user] [EJB/JBoss] - error of deploy

2004-04-13 Thread carlosgyn
It sees as this mine ejb-jar.xml: RelClientePessoaFisicaBean relatorio.relClientePessoaFisica.ejb.RelClientePessoaFisicaHome relatorio.relClientePessoaFisica.ejb.RelClientePessoaFisica relatorio.relClientePessoaFisica.ejb.RelClientePessoaFisicaBean Stateless Bean RelClientePessoaFisica

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

2004-04-13 Thread [EMAIL PROTECTED]
Other than this code being inside an MDB what has this got to do with messaging? You also don't show any code, configuration or error message. Enable trace logging for org.jboss.ejb.plugins, org.jboss.resource and org.jboss.tm and examine the output in log/server.log Once you know where it is fai

[JBoss-user] [JCA/JBoss] - Re: Closing a connection for you. Please close them yoursel

2004-04-13 Thread [EMAIL PROTECTED]
It says you are not closing the connection allocated here: at ztc.ldapdao.ra.ci.DAOFactoryImpl.getMetaDataReader(Unknown Source) I guess because your DAO class is broken. I can't tell because you don't post it. In fact you don't show any use of JBoss code other than the stacktrace. View the or

[JBoss-user] [JCA/JBoss] - Re: disabling managed connection pool

2004-04-13 Thread [EMAIL PROTECTED]
It sounds like you have the wrong end of the stick. Pooling should not be in your jdbc driver/connection factory, that breaks the contract. It is possible to pass the user through to the jdbc driver/connection factory if you use the CallerIdentityLoginModule (if you use the servlet/ejb user/passwo

[JBoss-user] [Installation & Configuration] - question about apache and php

2004-04-13 Thread LORDs_diakonos
I have a war file that uses form based authentication against Active Directory. I am about to set Jboss up to use Apache as the web server. My question is Can I put php pages in the war file? I don't want people to access the php pages without having loged in first from the login form Jboss i

[JBoss-user] [Security & JAAS/JBoss] - Jboss and Apache and PHP?

2004-04-13 Thread LORDs_diakonos
I have a war file that uses form based authentication against Active Directory. I am about to set Jboss up to use Apache as the web server. My question is Can I put php pages in the war file? I don't want people to access the php pages without having loged in first from the login form Jboss is us

[JBoss-user] [Installation & Configuration] - Re: Configuring jboss 3.2.3 for MS SQL2000. ** Help required

2004-04-13 Thread dvk78
I tried adding just the mssql-ds.xml to the deploy directory and this time i dont get any errors when jboss starts up! :-) I changed the standardjbosscmp-jdbc.xml to make the SQL2000 server as the default and again I dont get any errors when jboss starts up. I think the problem was with deleting

[JBoss-user] [EJB/JBoss] - Re: EJB trial failed

2004-04-13 Thread aldeponk
"nickman" wrote : Alain; | | It looks like your client did not complete a proper JNDI remote context initialization. The required code looks something like this: | | | | import java.util.*; | | import javax.naming.*; | | . | | . | | . | | Properties p = new P

[JBoss-user] [JCA/JBoss] - Re: Exception while shutting down JDBC/JCA

2004-04-13 Thread [EMAIL PROTECTED]
This has been fixed in 3.2.4RC1. An extra MBean has been added which shutdowns hsqldb and the datasource depends upon this mbean meaning all connections are closed before hsqldb is shutdown. I don't recommend using hsqldb for anything other testing and demos anyway. View the original post : http

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB transaction

2004-04-13 Thread kriscott
I have recently switched to XADataSource. Since I switched over what I am seeing is that everything runs fine except my sql INSERT statement doesn't seem to commit. How do I know if it is not being commited? Well, when I shut JBoss down, then I would see the records in the database. I am usi

[JBoss-user] [JCA/JBoss] - Re: Possible to configure multiple datasource in single -ds.

2004-04-13 Thread [EMAIL PROTECTED]
The link goes both way see managedConnectionFactoryName in conf/login-config.xml e.g. | | | | sa | sa | | jboss.jca:service=LocalTxCM,name=DefaultDS | | | | The ejb configur

[JBoss-user] [JBoss.NET & SOAP] - XDtCollection error with jboss-net 4.0head

2004-04-13 Thread dhartford
Hey all, For all of the 4.0XXX series, I have not been able to test any of the cool new features of jboss-net xdoclet module. ==error== <> ==end error== I have the xdoclet-hibernate-module-1.2 in my classpath, figuring they are the same XDtCollection, but no luck. The problem does NOT occur for

[JBoss-user] [Installation & Configuration] - Re: Configuring jboss 3.2.3 for MS SQL2000. ** Help required

2004-04-13 Thread dvk78
I deleted the hsqldb-ds.xml and replaced it with mssql-ds.xml in the deploy directory. Will deleting the former give error? I have also placed the 3 required jars to connect to the remote SQL2000 database in the default\lib directory(Am using the default jboss config). I had also replaced the h

[JBoss-user] [Persistence & CMP/JBoss] - Mysql query cache

2004-04-13 Thread ndrake
Hi, We are using Jboss with Mysql 4.0.15. Everything runs fine, but we are now looking into tuning Mysql. One thing we've discovered in Mysql's query cache. I've successfully got the cache turned on and working when running queries through Mysql's command-line client. When I run our app,

[JBoss-user] [Performance Tuning] - JBoss and Rarional quantify problem

2004-04-13 Thread wuffi
Hi, I'm trying to run quantify with jboss and have a problem with that. The working environment ist WinNT 4, java sdk 1.4.2, jboss-3.2.1-tomcat-4.1.24 I added the quantify call to the jboss startline in run.bat and put Rational.jar in the lib directory of the server (.../server/imbus/lib). I adj

  1   2   >