[JBoss-user] [Beginners Corner] - what are the minimum deployment descriptors

2004-04-06 Thread jonasj
I have the classic and simple HelloWorld EJB and a simple java client. First please tell me what are the deplyment descriptors files that are absolutely necessary to deply a signle Session EJB? Is it possible to copy the .class files that define the EJB in the folder under deploy folder in jbos

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

2004-04-06 Thread sanjuthomas
you are right so far about the auth.conf , now see in your client you are creating the LoginContext like this UsernamePasswordHandler handler = new UsernamePasswordHandler(args[0], args[1].toCharArray()); LoginContext lc = new LoginContext("MyLogin", handler); lc.login(); try it out , i am a

[JBoss-user] Compatibilities JBoss with Linux 3.0 or AIX 5.0

2004-04-06 Thread Renato Silva
Hi,   I'm new in this list, and I would like some information from you.I would like to know all the compatibilities of :JBoss with Red Hat Linux 3.0 Java 1.4orJBoss with AIX 5.0 Java 1.4   Please, let me know if there is problems with any of these versions above.I also would like to know, the appro

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBossCMP and multiple database schemas (using postgres)

2004-04-06 Thread jlrobins_socialserve
"loubyansky" wrote : It does not seem to be that hard to do taking into the anaysis you've done. If you come up with a patch please submit it to sf.net, it'll be applied. Thanks. Already done, bug filed, and patch apparently applied by Christian Riege (lqd). Many Thanks -- good to see the syst

[JBoss-user] [Installation & Configuration] - Re: Jboss as a Windows Service

2004-04-06 Thread verilet
Have not tried the alexandriasc.com utility but tanukisoftware.org's server wrapper works will. Also comes with JBoss instructions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829545#3829545 Reply to the post : http://www.jboss.org/index.html?module=bb&o

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

2004-04-06 Thread jianjia
Hi Adrian, Thank you very much for replying my message. I have read the topic you recommended. But it did not solve my problem. Plainly speaking, I want to send a BytesMessage with one mega bytes to and forth two queues and track the RTT(round trip time). The error messages are shown below. I

[JBoss-user] [Beginners Corner] - Re: Problems removing EJBs

2004-04-06 Thread Aaron
Any ideas what is wrong with my code ? Or where i could start looking... I've tried to step through the code working out where my re entrant method is getting caught and what the method call is from. But i keep getting lost in the EntityProxy and HttpLocalProxy. Other than what is wrong with

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB and container managed transactions

2004-04-06 Thread [EMAIL PROTECTED]
Your config looks correct to me. Which version of JBoss are you using? There was a bug in earlier versions of JBoss where it looked for onMessage() instead of onMessage(Message) in the config, but that shouldn't affect you since you are using a generic. Add TRACE logging for org.jboss.ejb.plugins

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

2004-04-06 Thread jhd
I'm working on a Weblogic => Jboss conversion. Deployment scenario: abc.ear * abc-ejb.jar * abc.war * abc.wsr * abc-resource.jar (no classes) In abc-ejb.jar I have a non-EJB class attempting to load a text file from abc-resource.jar using the following syntax: InputStream

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB and container managed transactions

2004-04-06 Thread fpa1974
I have been trying to make an MDB get a message and send it to another queue in the context of a transaction. It seems that I got stuck on the fact that JBoss does not run my MDB in the context of a transaction. from ejb-jar.xml ... TrxMDB

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

2004-04-06 Thread Martin0
I see in the release notes for 3.2.4RC1 it says: anonymous wrote : Use the RealmMapping to obtain the CallerPrincipal mapping as the | Principal returned from the authenticate methods. This allows a custom | principal installed by a JAAS login module to be seen in the HttpSe

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: problem using JBoss JMS client with other JMS servers

2004-04-06 Thread xu2000
I am not using jnp here. Sun J2EE server does not support jnp, does it? Basically, I am seeking a way to talk to JMS queues/topics in other application servers (e.g. Sun J2EE, WebSphere, etc) from JBoss client code with/without JBoss server running. I am using iiop for this (is there any other w

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I create my own TopicConnectionFactory?

2004-04-06 Thread timkk
Thanks tim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829535#3829535 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829535 --- This SF.Net email is sp

[JBoss-user] [Installation & Configuration] - Re: Jboss as a Windows Service

2004-04-06 Thread rreily1978
use javaservice www.alexandriasc.com/software/ JavaService/download.html instructions: http://jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows note: if your log folder, and stderr.log and stdout.log files under c:\jboss\server\default is not created then service will start and promptl

[JBoss-user] [Installation & Configuration] - Re: commons-crap

2004-04-06 Thread jdbrown
I also am having a problem with this. I need to use a newer version of the commons-httpclient.jar and when I include it in /server/default/lib and deploy my EJB, I get a java.lang.VerifyError. I asusme this is because the version in /lib is already loaded. JBoss 3.2.1 and trying to use common

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

2004-04-06 Thread davekohr
We run JBoss 3.2.3 on Windows 2000 systems, and at startup we often have a fatal error due to a port number conflict betweenJBoss' JNDI and other processes that are temporarily using that same port number. Up to now we have used just the default JNDI port of 1099. I am thinking to try to avoid t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: problem using JBoss JMS client with other JMS servers

2004-04-06 Thread [EMAIL PROTECTED]
Does the same code work from a plain java client? If you are configuring your own initial context jnp will have no affect. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829531#3829531 Reply to the post : http://www.jboss.org/index.html?modu

[JBoss-user] [Persistence & CMP/JBoss] - configure jboss to automatic discard bad database connection

2004-04-06 Thread higashi
Hi all, How can I configure JBoss to automatic discard bad database connections? For example... when I shutdown my DBMS, I always have to restart JBoss to create a new connection pool. If I don't restart JBoss, it will try use bad connections (the connections pooled before the dbms shutdown)...

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I create my own TopicConnectionFactory?

2004-04-06 Thread [EMAIL PROTECTED]
Connection factories are configured using xml files see for example uil2-service.xml Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829529#3829529 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829529

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

2004-04-06 Thread [EMAIL PROTECTED]
I don't think you want a temporary destination do you? It only exists once the MDB is deployed and there is no mechanism to configure the security for them (other than the default security on the jms security manager). You would be better off creating permenant queues like those in jbossmq-destin

[JBoss-user] [Beginners Corner] - javax.naming.NameNotFoundException: hibernate not bound

2004-04-06 Thread tads
Hi all, IÃÂm using JBoss 3.2.3 with Hibernate 2.0.2, Oracle 8.1.7. I created a .sar that contains the beans and the jboss-service.xml. I put this .sar into ../default/deploy and the arq.war too. But when I start the jBoss the following exception occurs: javax.naming.NameNotFoundException: hiber

[JBoss-user] [HTTPD, Servlets & JSP] - Re: SSL with Tomcat in JBOSS 3.2.3

2004-04-06 Thread acox
So if this is truely a warning, and also to avoid the DEBUG errors for every SSL connection: 2004-04-06 12:52:59,697 DEBUG [org.apache.tomcat.util.threads.ThreadPool] Getting new thread data 2004-04-06 12:53:01,840 DEBUG [org.apache.tomcat.util.net.jsse.JSSE14Support] Error getting client certs

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

2004-04-06 Thread genman
I created a special MBean that would issue "SHUTDOWN COMPACT" when the server got shut down. You can also issue a "CHECKPOINT" command every X minutes through a timer. http://sourceforge.net/tracker/index.php?func=detail&aid=844654&group_id=22866&atid=376685 View the original post : http://w

[JBoss-user] [Security & JAAS/JBoss] - Re: Problemas getting struts-config.xml file as InputStream

2004-04-06 Thread Martin0
I believe there are classes in struts to get whatever you want to know about the config. I would try posting your wider goal to the struts user email list Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829523#3829523 Reply to the post : http://www.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB not exchanged at redeploy (JBOSS 3.2.3)

2004-04-06 Thread genman
"murxx" wrote : | I already noticed that there is a part that only appears in the first deployment: creating a new temporary destination: queue/dias/miner/Analyzer. That is why I ask, if I have more to configure than only the queue in the jboss.xml ! You should create the dias/miner/Analyzer

[JBoss-user] [Security & JAAS/JBoss] - Problemas getting struts-config.xml file as InputStream - se

2004-04-06 Thread juarezjunior
Hello there, I am trying to read the struts-config.xml file, located in the WEB-INF folder. I am using JBoss 3.2.1-tomcat-4.1.24. I used the method ServletContext.getResourceAsStream("/WEB-INF/struts-config.xml"); This is ok but when I try to do something with the returned InputStream the exce

[JBoss-user] [Persistence & CMP/JBoss] - FoeDeployer

2004-04-06 Thread schlumpf
Hi all, where can I see the generated jboss specific descriptor-files. The generated ejb.jar has only the same weblogic-descriptors. Is there at all a possibility generate them? caio schlumpf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829519#3829

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

2004-04-06 Thread cvandyck
If you are invoking printLockMonitor and the values for Total Lock Time, Num Contentions, and Time Outs are 0, then I would not think that to be a problem necessarily. What exactly is it you are trying to see? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss on Solaris leaves threads hanging

2004-04-06 Thread richieb
Here is the resolution of this issue. It turns out that we hit some weird networking/Solaris problem between two specific Solaris machines. What happens is that when the client on one machine disconnects from the server (running on the other machine), Solaris does not cleanup the sockets. As f

[JBoss-user] [Installation & Configuration] - Changing user in hsqldb connection ...

2004-04-06 Thread sandros
Hi, I created a new hsqldb user with the command: create user test password mytest admin; in the DatabaseManager provided by jboss. I changed the hsqldb-ds.xml file in order to use the new user: test mytest But when I start jboss, hsqldb remains looking for the 'SA' user. Are there any othe

[JBoss-user] hibernate create tables

2004-04-06 Thread Stefan Groschupf
Hi, I'm using hibernate as mbean in jboss. I couldnt get the auto creation of the tables in my database running. I tried update in my jboss-service.xml but got this exception: Depends On Me: org.jboss.deployment.DeploymentException: No Attribute found with name: hibernate.hbm2ddl.auto, ObjectN

[JBoss-user] [Nukes User] - Re: cvs install problems

2004-04-06 Thread LORDs_diakonos
I have tried 4 different snapshots. I got them to build on Linux but the above errors happen on Windows. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829514#3829514 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829

[JBoss-user] [Nukes User] - Re: cvs install problems

2004-04-06 Thread thepriz
Not sure about the snapshot download which you seem to be using but a checkout from cvs builds and works great. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829513#3829513 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

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

2004-04-06 Thread timkk
Hi all, I'm testing the FoeDeployer-Migration-Tool. The Tool cannot bind the ConnectionFactory and Topics under the right JNDI-Name. Here some examples from the server.log: 2004-04-06 19:48:27,233 WARN [org.jboss.ejb.StatefulSessionContainer] No resource manager found for jms/ArtikelTopicConnect

[JBoss-user] [EJB/JBoss] - FoeDeployer and ConnectionFactory's

2004-04-06 Thread timkk
Hi all, I'm testing the FoeDeployer-Migration-Tool. The Tool cannot bind the ConnectionFactory and Topics under the right JNDI-Name. Here some examples from the server.log: 2004-04-06 19:48:27,233 WARN [org.jboss.ejb.StatefulSessionContainer] No resource manager found for jms/ArtikelTopicConnect

[JBoss-user] [JBoss.NET & SOAP] - Re: Tutorial on Web Services using APACHE-AXIS1.1 with JBOSS

2004-04-06 Thread brian_k_ng
Hey, what is going on her with this exception message FIXME I am following your tutorial as well, and got the same Exception that said FIXME. Here is my WSDD --- http://xml.apache.org/axis/wsdd"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

[JBoss-user] [HTTPD, Servlets & JSP] - MigrationTool for WebApplications?

2004-04-06 Thread timkk
Hello, I'm searching for a Migration-Tool for web-applications like the FoeDeployer for jar's. Is there something like a war-Migration-Tool available? thanx tim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829508#3829508 Reply to the post : htt

[JBoss-user] [EJB/JBoss] - Seed JBoss instance pool

2004-04-06 Thread anodos
Is there any way to configure JBoss so that it seeds a stateless session bean instance pool on deployment? I tried using something like this: | | 100 | 10 | | But, JBoss didn't instantiate any SLSBs when I deployed my .ear. I read in the docs

[JBoss-user] [Messaging, JMS & JBossMQ] - How can I create my own TopicConnectionFactory?

2004-04-06 Thread timkk
Hello, can I create in JBoss my own TopicConnectionFactory like in the reference-implementation from Sun. There you can add a JMSFactory with j2eeadmin -addJmsFactory. How can I do this in JBoss? Thanx tim View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [JCA/JBoss] - Re: Problems with connecting to OracleDB

2004-04-06 Thread timkk
The listener was the problem! I got the wrong port from the DBA under the port the listener wasn't started. Thanx tim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829504#3829504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: FAQ - Read this second

2004-04-06 Thread kshiv2001
Hi Adrain, I tried to use openjms for some mdbs as a remote jms provider. changes done:- 1. added in standardjboss.xml open-jms-provider open-jms-provider org.jboss.ejb.plugins.jms.JMSContainerInvoker OpenJMSProvider StdJM

[JBoss-user] [Management, JMX/JBoss] - Re: JMS-dependent MBean breaks on JBoss startup

2004-04-06 Thread mshivas
Thank you Juha, Adding this attribute to my jboss-service.xml file did the trick. | jboss.mq:service=InvocationLayer,type=UIL2 | Mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829500#3829500 Reply to the post : http://www.jboss.org/index.html?mo

[JBoss-user] [Installation & Configuration] - Weird classloading issue with 3.2.3 & WSDP

2004-04-06 Thread cvandyck
Hi, I've got a web services bundle deployed as a .WAR within my main EAR. The web services servlet needs to use Xerces to parse the WSDL file. When I deploy the application, the web services application can successfully load this class and parse the file. However, whenever I log into the mai

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

2004-04-06 Thread richardzheng
When an application is released, how to config it as a real production. How to disable Jasper development mode? How to disable logging for the web container? How to disable access logging? I disabled Log4j Initialization in jboss-minimal.xml and jboss-service.xml, but there are still temporary f

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ording of the messages

2004-04-06 Thread [EMAIL PROTECTED]
Yep. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829494#3829494 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829494 --- This SF.Net email is sp

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Messages only delivered after server restart.

2004-04-06 Thread [EMAIL PROTECTED]
I don't see anything in the logs. Other than some opens and closes. Looks like you'll have to enable TRACE. If the queue is empty, but a restart resends the messages, that means the messages have been delivered to the client but the client has neither acked or nacked them. Restarting the server w

[JBoss-user] [Messaging, JMS & JBossMQ] - problem using JBoss JMS client with other JMS servers

2004-04-06 Thread xu2000
Hello, I am trying to use a JBoss JMS client (on an AIX machine) to connect to other application servers such as Sun J2EE server located on a different host. I am experiencing some problem with JNDI lookup. By default, Sun J2EE server uses iiop and JBoss uses jnp as the JNDI protocol. I am tryi

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

2004-04-06 Thread [EMAIL PROTECTED]
Any tutorial that explains how to use JNDI should do. RMI works the same. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829492#3829492 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829492 --

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

2004-04-06 Thread Berritxu
Hello! I'm launching an EJB from dispatcher, but at runtime I obtain a NamingException error: env not bound My source code is something like that: InitialContext ic = new InitialContext(); Object objRef = ic.lookup ("java:comp/env/ejb/myEJB"); Somebody knows how I can solve it? Why MBean can`

[JBoss-user] [JCA/JBoss] - Re: When to close JDBC-connection for remote User Tx?

2004-04-06 Thread [EMAIL PROTECTED]
Since you session is stateless you must close the connections. There is no way and you are not allowed to hold connections open for the client for stateless. Closing the connection does not commit the transaction. It just suspends the connection. Further work in the same transaction will use the s

[JBoss-user] [EJB/JBoss] - Re: Problem while deployment

2004-04-06 Thread jae77
could you provide some additional information? right now a stack trace would be useful. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829487#3829487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829487 --

[JBoss-user] [Beginners Corner] - Re: Mysql 5.1 datasource problems

2004-04-06 Thread captrespect
Nevermind. I solved this one already. On a hunch I removed my ms sql server jdbc driver, thinking they may be conflicting. Now It works fine. Can you use multiable types of databases at the same time? Or is this just an error in the driver? View the original post : http://www.jboss.or

[JBoss-user] [EJB/JBoss] - Problem while deployment

2004-04-06 Thread at_sharma
Hi, I am new to jBoss and getting problem while deploying my application. Can someone help me in telling tat how to deploy JAVA, STRUTS, EJB application on jBoss. Thanks, -ATUL- View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829485#3829485 Reply to the p

[JBoss-user] [Beginners Corner] - Mysql 5.1 datasource problems

2004-04-06 Thread captrespect
We are trying to migrate our sql server database to mysql 5. I can't seem to get a datasource from the mysql 5 connection in my servlets. I can connect to the database by not using dbcp and using the connection string and I can get a datasource from MS Sql Server. Has anyone been about to do t

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

2004-04-06 Thread k2c
Hi juha! Do you know some source of information where can i learn how to implement the method rebind() in a MBean ? Another aproach What if we use RMI to start and stop the MBean? Would that be the same as manually stopping and starting the Mbean ? Thanks View the original post : http

[JBoss-user] [Management, JMX/JBoss] - Re: calling an EJB from MBean

2004-04-06 Thread [EMAIL PROTECTED]
There's nothing different about invoking an EJB from an MBean compared to invoking an EJB from a standalone client. The same API calls apply and the behavior is the same. Naming exception indicates you're using the wrong lookup name trying to get to the home proxy. Use the name in the global nam

[JBoss-user] [Clustering/JBoss] - Clustering with Message driven Beans......(Exception:File no

2004-04-06 Thread goutamp
Hi all, iam working for the first time on clustered envinronment, so iam not getting some things rightcan anyone help me in this problem: In my code iam using a messge driven bean and a servlet for the JBoss clustering environement. My clustering is with default partition.So

[JBoss-user] [EJB/JBoss] - Re: Accessing JNI DLL's from JBOSS

2004-04-06 Thread [EMAIL PROTECTED]
There's no restrictions on the default config. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829476#3829476 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829476 -

[JBoss-user] [Management, JMX/JBoss] - Re: calling an EJB from MBean

2004-04-06 Thread Berritxu
Well, I'll try to clarify my question. I've an MBean, launched by dispatcher, which every minute verifies the hour and, in some specific moments, calls an EJB. I've developed an Entity Bean to access the database, and this EJB is controlled by the corresponding Session Bean. My problem is that

[JBoss-user] [Nukes User] - Re: cvs install problems

2004-04-06 Thread LORDs_diakonos
Can anyone get the CVS built? What am I doing wrong? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829474#3829474 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829474 -

[JBoss-user] [Beginners Corner] - Re: SAR in EAR?

2004-04-06 Thread [EMAIL PROTECTED]
SAR is not part of the J2EE specs so I guess it is up to what makes more sense to you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829473#3829473 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829473 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Messages only delivered after server restart.

2004-04-06 Thread tdevos
I mailed you the logs from the server and client. In fact I don`t think that it is a client problem since only a server reboot solves the problem. Also the JMX-console reports that there are 0 messages on the queue. Tim De Vos View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Management, JMX/JBoss] - MBeanException: Exception in MBean operation 'start()'

2004-04-06 Thread Amresh
We use the jmx RMIAdaptor with in JBoss to stop and start a MDB once every day. The MBean has been working without any problem for 3-4 months except twice when we got the following exception. Caused by: MBeanException: Exception in MBean operation 'start()' | Cause: javax.naming.NameAlreadyBou

[JBoss-user] [Installation & Configuration] - Re: JBOSS hangs after contineous running for about 2 weeks

2004-04-06 Thread richardzheng
Hello Lothar, Thank you for you reply. I will try it. Thanks Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829468#3829468 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829468

[JBoss-user] [Beginners Corner] - Re: JNDI access to java:/Mail from MDB

2004-04-06 Thread bruth
OK, I'm still not seeing anything. In jboss.xml, in the ... for my MDB, what is the resource-name supposed to refer to? If the JNDIName I've defined for mail-service.xml is java:/Mail, is resource-name supposed to be 'Mail' or java:/Mail, or something else? Also, in JNDIView, am I supposed to

[JBoss-user] [HTTPD, Servlets & JSP] - Re: what is the difference between form-based and BASIC-base

2004-04-06 Thread liuhf
thank you for your explaination. liuhf. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829466#3829466 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829466 --- This

[JBoss-user] [Persistence & CMP/JBoss] - Re: Help with Proper use of JB-QL MAX returning 1 complete e

2004-04-06 Thread WebSel
I've found a workaround for now: SELECT OBJECT(o) FROM Test o WHERE o.report_id =?1 ORDER BY o.log_id DESC LIMIT 1 Could anyone post a version which uses the MAX() function of JB-QL please? Thanks, Wessel de Roode View the original post : http://www.jboss.org/index.html?module=bb&op=vi

[JBoss-user] [Management, JMX/JBoss] - Re: where to place my logging.Logger.pluginClass

2004-04-06 Thread khohl
Thanks for replying. Unfortunately, I just tried both adding the class to the system classpath and adding it to run.jar and it still can't be found. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829464#3829464 Reply to the post : http://www.jboss.org/index

[JBoss-user] [Beginners Corner] - SAR in EAR?

2004-04-06 Thread dhartford
Hey all, Simple question - for J2EE specs/best practice, should a SAR be included in the EAR, or deployed seperately from the EAR for an application? -D View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829462#3829462 Reply to the post : http://www.jboss.org/in

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

2004-04-06 Thread Martin0
Scott, On 3.2.3 it reports user java On 3.2.4 it reports user caller_java I thought caller_java in the example was a role - not a user. Why has this changed? Is this a bug? Thanks Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829463#3829463 Repl

[JBoss-user] [HTTPD, Servlets & JSP] - Problems using InputStream in JBoss

2004-04-06 Thread juarezjunior
Hello there, I am trying to read the struts-config.xml file, located in the WEB-INF folder. I am using JBoss 3.2.1-tomcat-4.1.24. I used the method ServletContext.getResourceAsStream("/WEB-INF/struts-config.xml"); This is ok but when I try to do something with the returned InputStream the excepti

[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread Martin0
1) The jmx-console web app should be secured like any other web app I'll think about other things later. Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829460#3829460 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

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

2004-04-06 Thread fheldt
Do you use ant? Then putting * @jboss-net.authentication * domain="openbroad" * validate-unauthenticated-calls="true" * * @jboss-net.authorization * domain="openbroad" in your (Webservice) Session Bean should do the job, which means it puts the corresponding entry in webservice.xml

[JBoss-user] [EJB/JBoss] - Re: Actual number of bean instances in the pool

2004-04-06 Thread cvandyck
Hi Cari, No problem, you will be able to find this information not only for entity beans, but also stateless session beans. I'm sorry if my post was misleading in that regard. Collin ps. HTH == Hope This Helps :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread michaellee
Actually, i am new to J2EE Application server and just develop a simple application. What i am thinking is: In the development environment, jmx-console is not protected and each programmer can use the JNDIViewer to obtain the JNDI name defined for the datasource. Afterward, a simple JSP may be

[JBoss-user] [EJB/JBoss] - Re: Data Access Object and session bean

2004-04-06 Thread gunzip
public class StoreAccessDAOImpl implements StoreAccessDAO{ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829452#3829452 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829452 --

[JBoss-user] [EJB/JBoss] - Re: EJB remote calls optimization

2004-04-06 Thread cari34
Hi jae, Thank you for the reply. Do you have any hints how could I know if the EJB methods arguments are passed by reference ? Does JBOSS provide this information anywhere ? Thank you. Cari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829451#3829451 Reply

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS with OpenJMS

2004-04-06 Thread kshiv2001
Hi, I tried with the classes you specified.(created the jar and placed in server/default/lib/ dir and placed the client jars needed for the openjms and changed the jms-ds.xml for the openjms provider) But didn't work. could you please give a step by step procedure to enable openjms with Jboss?

[JBoss-user] [EJB/JBoss] - Re: Actual number of bean instances in the pool

2004-04-06 Thread cari34
Hi HTH, Thank you for your reply. Just for information, I use stateless session beans. Thank you. Cari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829448#3829448 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382944

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Howto: README FIRST

2004-04-06 Thread Martin0
Still looks like 3.2.1 to me. Do you expect to update it for 3.2.4? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829447#3829447 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829447

[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread Martin0
They can only do that if they can deploy it in the relevant security domain (I believe). Bottom line is they can use a command line SQL tool to access the database. Sounds like the security you need belongs in the database too. Also if they have access to the deployment descriptors, they can j

[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread michaellee
Martin, Thanks for your information. Using the proposed method, the database password can be encrypted and not readable in the config file. However, by using JNDI lookup for the datasource, then call getConnection using the return datasource, a connection will be created to access the databas

[JBoss-user] [Security & JAAS/JBoss] - Re: Tomcat SSL does not work on Windows but fine on Unix/Lin

2004-04-06 Thread Martin0
Is javax.net.ssl.trustStore equivelent to Connector keystoreFile attribute in tomcat5 server.xml? Why use one instead of the other? Thanks Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829443#3829443 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [EJB/JBoss] - Re: JNI and JBOSS

2004-04-06 Thread darranl
You have already started a discussion on this, do not start another one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829442#3829442 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829442

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

2004-04-06 Thread [EMAIL PROTECTED]
javax.naming.Context.rebind() don't know if it is exposed as an MBean anywhere (naming service, or JNDI View), if not you'll have to implement your own MBean that does. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829439#3829439 Reply to the post : http:

[JBoss-user] [Installation & Configuration] - Raising JBoss ports on one particular ip-addess

2004-04-06 Thread kbk
Hi, Env: JBoss 3.0.8 Linux Redhat Enterprise 3.0 All our nodes in the production environment have mutiple ip-addresses. When JBoss starts it raises all the ports (1099, 8080, 8083...) on all available ip-addresses. This is not what we would like. Is it possible to configure JBoss to just raise

[JBoss-user] [EJB/JBoss] - Re: Error when deploy entity bean!!! Error: multiplicity ma

2004-04-06 Thread nsdeonia
Hi It entirely depends on your database schema. mostly foreign key is at 'many' end of relation. if this is the case use following to define relationship in your jbosscmp-jdbc.xml your primary key field at 'one' end of relation will go to database field of 'many' end of relation. hope I hav

[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread Martin0
Michael, I believe you can specify the security-realm login access to the database. See http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45111 Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829436#3829436 Reply to the post : http://www.jbos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss on Solaris leaves threads hanging

2004-04-06 Thread richieb
"[EMAIL PROTECTED]" wrote : What is the netstat status of these connections, connected? Perhaps the tcp_keepalive_interval is too high, or not all OS patches for java have been installed. Ah! Thanks for the suggestion. Seems that the tcp_keepalive_interval is set to the default value of 120 mi

[JBoss-user] [EJB/JBoss] - JNI and JBOSS

2004-04-06 Thread prax_vln
I could not call DLL's from my session bean deployed in JBOSS I have the DLL in JBOSS Path C:\JBOSS\BIN .please help me out View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829434#3829434 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSTL 2.0

2004-04-06 Thread atomas
Me too. Exactly the same error. Did anyone fix it? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829433#3829433 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829433 -

[JBoss-user] [Persistence & CMP/JBoss] - Help with Proper use of JB-QL MAX returning 1 complete entit

2004-04-06 Thread WebSel
Hi! I firguring out how to write a finder method that returns one entity bean selected on a MAX creteria. I have a report_id, and every update on the report, the version field is incremented. To get the latest report available in SQL it would be SELECT MAX(version),(other fields needed) FROM

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

2004-04-06 Thread k2c
Ok this is my output from the server.log file when i do those actions: ' [12:58:49,715,CORE_DB] Stopping [12:58:49,716,CORE_DB] XA Connection pool CORE_DB removed from JNDI [12:58:49,716,XAPoolDataSource] Closing DataSource [12:58:49,716,XAPoolDataSource] Binding to JNDI name null [12:58:49,716,Ob

[JBoss-user] [EJB/JBoss] - Deploying the same ear twice

2004-04-06 Thread zinumolbap
Hi all, I'm facing a problem I've been trying to solve for several days. The fact is I have an application wich uses Struts + EJBs. My intention is to reuse it deploying it several times under different contexts. I've changed JNDI names associated with entity beans and also datasource info. Bu

[JBoss-user] [Installation & Configuration] - Error installing JSTL 1.1

2004-04-06 Thread atomas
I'm trying to use JSTL 1.1 but I'm getting an error when I try to deploy the app: Document root element "taglib", must match DOCTYPE root "null". org.xml.sax.SAXParseException: Document root element "taglib", must match DOCTYPE root "null". ... Maybe I did something wrong (for sure!): 1st: I pu

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

2004-04-06 Thread [EMAIL PROTECTED]
Hmm, right. 2.x doesn't have redeployable services, only EJBs. Undeploy EJB, stop/start datasource, deploy EJB. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829426#3829426 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

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

2004-04-06 Thread antoine
I begin with authentication I don't know if it's good because of my problem (I give allpermission but nothing) but in auth.conf i don't put dsjndi try without and tell me what it does my auth.conf : MyLogin { //Login Module Needed - I use Database (Note it correlates to what I had in login-co

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

2004-04-06 Thread k2c
Hi juha! Thanks for your quick reply! :) I am a newbie to jboss and i have a doubt. What do you mean by 'bounce the datasource' ? What are the actions to follow to do that action? I understand that deploy and undeploy is place and remove the ejb from the deploy directory. Thanks once more for

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

2004-04-06 Thread [EMAIL PROTECTED]
Try undeploying the components that depend on the datasource (the EJBs), then bounce the datasource and redeploy the applications. Maybe that yields a better result. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829423#3829423 Reply to the post : http://w

[JBoss-user] log4jservice$URLWatchTimerTask keeps reconfiguring

2004-04-06 Thread Stefan Schuster
Hi, My log4jService keeps reconfiguring (and therefore truncating my logfiles) every minute : 13:21:12,383 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 13:22:12,323 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml And so on

  1   2   >