[JBoss-user] [Clustering/JBoss] - Re: Auto-discover node in the client

2004-02-19 Thread kaobe
Hi Mike, thank you for your tip, but the net configuration is ok. the connect works in one specific case: The remote machine has a jboss running, my local jboss has just been started (no connect has yet been made). Then I am able to connect my client once. That's why I don't have a clue what

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: problem retrieving topic -ClassCastException

2004-02-19 Thread genman
Where did you find this example code? Why are you applying EJB calls to JNDI objects? Why didn't you use existing, freely available example code? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822270#3822270 Reply to the post : http://www.jboss.org/index.

Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Roy Britten
Nice. Thanks Adrian. On Fri, 20 Feb 2004 at 5:37am, Adrian Brock wrote: > Right click the title bar on your console and turn off > quick edit mode. -- Usual disclaimer. Roy Britten National Institute of Water and Atmospheric Research PO Box 8602, Christchurch, New Zealand P: +64-3-343-7818 F:

[JBoss-user] [Beginners Corner] - Re: Hot redeployment - failed in jboss 3.2.3

2004-02-19 Thread mikefinn
Looks like maybe he is finding an incompatible XML parser. Do you have a copy of xerces/crimson/etc in your EAR, or in your server/*/lib? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822264#3822264 Reply to the post : http://www.jboss.org/index.html?modu

[JBoss-user] [Beginners Corner] - Re: ant task for deploying ?

2004-02-19 Thread mikefinn
I have a similar dilemma, as I want to run some junits once everything is deployed. I have not had time to try yet, but one idea I had was to use jmx-console/html adapter to get the URL (via ant wait) for the installed EAR? Not sure what mbean gets deployed last in an EAR, but this one may be it

[JBoss-user] [Nukes User] - Re: Next Nukes Release ?

2004-02-19 Thread cooper
Unfortunately create/remove table were not good enough when we started the project. We need index on some fields and at this moment it was not possible to add index constraint on the cmp fields (now it is possible) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Datasource Configuration] - Re: Data Source problem

2004-02-19 Thread mikefinn
1) Make sure you aren't using any dot notation in the SID. 2) Verify the port number 3) Verify the SID name 4) Make sure you have the right driver version. IIRC, classes111.zip is for JDK 1.1. Mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822265#3822265

[JBoss-user] [EJB/JBoss] - Re: Why can't you use local interfaces for CMP EJBs?

2004-02-19 Thread hirowla
At last, somebody seems to have the same setup! How do you do the changes you mentioned? BTW, the test classes are part of the WAR file so that ought to be ok. Was going to e-mail, but it doesn't want to let me do it! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread [EMAIL PROTECTED]
lookup UIL2ConnectionFactory Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822261#3822261 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822261 ---

[JBoss-user] [Beginners Corner] - Re: Autodeployer only gets *.jar file

2004-02-19 Thread mikefinn
What kind of XML configuration file? And what do you expect the deployer to do with it? For anything out of the ordinary (web.xml, struts-config.xml, jboss-web.xml, etc), you will need to write a custom deployer. If it's just something you need access to programmatically at runtime, use getResou

[JBoss-user] [Clustering/JBoss] - Re: javax.naming.CommunicationException when calling a clust

2004-02-19 Thread [EMAIL PROTECTED]
Actually you can leave it blank (or not defined) The client will try to contact HAJNDI using a multicast. i.e. it will look for any jboss server on the network. The timeout messages says it couldn't find such a server within the configured timeout (default 5 seconds). Regards, Adrian View the o

[JBoss-user] [Beginners Corner] - Re: Is it *really* possible to use Log4j ?

2004-02-19 Thread mikefinn
#1 is fairly simple. As long as you have a way to set log4j.configuration as a system property, you should be able to use log4j from anywhere, portably. Of course, each server has it's idiosyncracies as to how it uses log4j (categories, trace-level extensions, etc). You may want to look at jakar

[JBoss-user] [Beginners Corner] - Re: JMX client and Log4j

2004-02-19 Thread mikefinn
There is a log4j.properties in jbossall-client.jar that may be getting in your way. In your app, try initializing do you force log4j config to load your log4j.xml? like: log4j.configuration=file://path/to/log4j.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Create Durable Subscription at runtime when clientID is

2004-02-19 Thread [EMAIL PROTECTED]
You can flushAuthenticationCache("jbossmq") on the mbean jboss.security:service=JaasSecurityManager You'll also find the 1800 second timeout configured there. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822255#3822255 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Cannot instantiate class: org.jnp.interfaces.NamingConte

2004-02-19 Thread Aldo Martinez
I'm running under linux... but the same problem under windows xp Right now i'm just doing: java -jar cliente.jar but before i did it with -D with the path of jbossall-client.jar... and others.. i can't even remember all the things i did... i started at 10 am... and right now is 2:46 am... s

[JBoss-user] [Frequently Asked Questions (FAQ)] - Re: DatabaseLoginModule example project

2004-02-19 Thread [EMAIL PROTECTED]
The current forum software does not support attachments. Use JBoss Wiki instead. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822253#3822253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822253 --

[JBoss-user] [Security & JAAS/JBoss] - Re: Please help! Problems configuring authentication.

2004-02-19 Thread [EMAIL PROTECTED]
select role, 'Roles' from memberships m Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822252#3822252 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822252 ---

Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Adrian Brock
Right click the title bar on your console and turn off quick edit mode. Regards, Adrian On Thu, 2004-02-19 at 20:09, Roy Britten wrote: > Hi Peter, > > I've occasionally seen something similar happen in my > development server (also JBoss 3.2.1 with Jetty). Oddly, hitting > the key while in the

[JBoss-user] [Beginners Corner] - Re: Cannot instantiate class: org.jnp.interfaces.NamingConte

2004-02-19 Thread mikefinn
It's behaving exactly like you are missing a jar. jbossall-client.jar should have everything you need. How are you launching the client? In unix shell, or windows cmd? Can you post the script? mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822251#382225

[JBoss-user] [Installation & Configuration] - Re: Minimal JBoss configuration

2004-02-19 Thread mikefinn
Why not start with the 'minimal' configuration out of the box, and add what you need (JMS)? JMX has to be there - it's the backbone of the server. Everything else is just modules that plug into JMX. Note: you will not get jmx-console, web-console, HTML adapter, etc, unless you have a web contain

[JBoss-user] [Frequently Asked Questions (FAQ)] - J2EE

2004-02-19 Thread bharathpu
I am intrested in developing a J2EE project using JB0ss application server. where can i get the dummy project.please give the website name in which i'll get free J2EE projects.please do mail me as soon as possible thanks, Bharath View the original post : http://www.jboss.org/index.html?modul

[JBoss-user] [Beginners Corner] - Cannot instantiate class: org.jnp.interfaces.NamingContextFa

2004-02-19 Thread Aldo Martinez
I know others ask this before... but still can't solve the problem I'm trying to make a simple client to access a ejb in jboss when i run it from eclipse it runs perfect... but when i make the jar and try tu run it i get: javax.naming.NoInitialContextException: Cannot instantiate class:

[JBoss-user] [Installation & Configuration] - Re: Running two Jboss instance on the same machine

2004-02-19 Thread mikefinn
If your version is recent enough (3.0.5+ and 3.2.1+ I think), use the binding service manager. It's a single XML file to control all ports on the server. http://prdownloads.sourceforge.net/jboss/BindingService.pdf?download View the original post : http://www.jboss.org/index.html?module=bb&op=vi

[JBoss-user] [Clustering/JBoss] - Re: Auto-discover node in the client

2004-02-19 Thread mikefinn
Simple question (from the 'never overlook the obvious' category): your 'remote' server is on the same subnet as your 'local' server, or client? Meaning, there are no network hops between local and remote? And both are using the same mcast_addr and discovery group? Autodiscovery (in default conf

[JBoss-user] [Clustering/JBoss] - Re: javax.naming.CommunicationException when calling a clust

2004-02-19 Thread mikefinn
Where does it specifically say to leave it blank? I am not sure how that would ever work, unless you are talking about local calls. The EJB (remote) client needs the URL to do the initial lookup to JNDI. You should set it to a comma separated list of your HA-JNDI servers: node1:1100,node2:1100

[JBoss-user] [Clustering/JBoss] - Re: Maximum number of HTTP Sessions in a cluster

2004-02-19 Thread mikefinn
It would help to know: 1) What you mean by "max out"? Is there an error? 2) What platform you are on (Windows, Linux, etc) 3) What is your architecture? Is a load balancer in front? How many nodes do you have? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Clustering/JBoss] - Re: Unexpected Cluster Shutdown

2004-02-19 Thread mikefinn
Just a guess, but JNP discovery is finding the servers automatically. I have seen this when using shutdown.sh with no args, and the 'local' server is not running. This assumes that the servers are multicast-reachable. Two ideas: 1) Do JAVA_OPTS=-Djnp.disableDiscovery=true before calling shutdown

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
JBossMQProvider when my program run, it throws an exception, JNDI API lookup failed: javax.naming.NameNotFoundException: JBossMQProvider not bound who can Help? thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822241#3822241 Reply to the post :

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
My code is below: try { java.util.Hashtable JNDIParm = new java.util.Hashtable(); JNDIParm.put(Context.PROVIDER_URL, "localhost"); JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); jndiContext = new InitialCon

[JBoss-user] [Messaging, JMS & JBossMQ] - How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
HI.Thank you . this time I am in another trouble. How to get a ConnectionFactory? In the jboss_home/server/default/deploy/jms/ directory,there is a file named jms-ds.xml, there is a tag named , and a tag named " " . Is this a ConnectionFactory JNDI name? who can tell me? Thak you . View the origi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Help on JMS for JBOSS

2004-02-19 Thread SportsBaby1980
I encouter a new problem now. I don't know how to create or get one ConnectionFactory with Jss? Using SUN's J2EESDK1.3,I can create connectionFactory like this: j2eeadmin -addJmsFactory jndi_name queue j2eeadmin -addJmsFactory jndi_name topic waiting... View the original post : http://www

[JBoss-user] [Nukes User] - Re: Next Nukes Release ?

2004-02-19 Thread jae77
unfortunately, i am going to have to defer these questions to julien. i've only recently joined the effort and come from an environment that doesn't do table creation through the entity beans, so i've honestly never thought about it. how fine grained are the database constraints if you use the

[JBoss-user] [EJB/JBoss] - Re: CMP:Where my data is going?

2004-02-19 Thread mandarjboss
Hi triahlon98 Thanx for ur reply.But i really didn't understand what u want to say.If u look closely i don't think there is any difference between my jbosscmp-jdbc.xml and what u have stated here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822233#3822

[JBoss-user] [Nukes User] - Re: Next Nukes Release ?

2004-02-19 Thread hxp
Hi Jae, Could you please go deeper into Nicholas' question, and clear something up for those of us who are curious... Why is there any need for DDL at all? Is the DDL, which was in the .ddl files and is now embedded in the setup.xml files, a legacy of the database schema migration from the PH

Re: [JBoss-user] [Clustering/JBoss] - Re: Auto-discover node in the client

2004-02-19 Thread Bela Ban
kaobe wrote: Hello again, I don't know why, but I'm still (again?) facing problems concerning cluster node auto detection. I have now the following properties for the InitialContext: Properties prop = System.getProperties(); prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingC

[JBoss-user] [Persistence & CMP/JBoss] - EJB-QL: get a SET of Beans ???

2004-02-19 Thread ericmacau
Hello, How can I get a BEAN its ID is the MAXMIMUM ? For example, UserBean.java - userID - userName How can I retrieve the last User Object ? signature="User findLastUser()" query=" ??? " What should be defined in the query ??? Eric View the original post : http://www.jboss.o

[JBoss-user] [Installation & Configuration] - Re: jboss jmx console problem

2004-02-19 Thread sailer2008
hi,i downloaded zip file is jboss-3.0.8_tomcat4.1.24.zip and unzipped into a dir, then started jboss using /bin/run.bat i can see the index.jsp page when i typed url:http://localhost:8080/jmx-console.maybe you can down jboss-3.0.8_tomcat4.1.24.zip file to try again. View the original post : htt

[JBoss-user] [JBoss Getting Started Documentation] - JBoss 3.2.3 ships with previous version of xercesImpl.jar

2004-02-19 Thread surjitsen
JBoss 3.2.3 ships with an older version of xercesImpl.jar, that does not support XML Schema Validation. I conducted some quick trials with JBoss using the latest version of xercesImpl.jar and it seems to work fine. However I am worried about using the new version of xercesImpl.jar in production.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign Key within Composite Primary Key and CMR

2004-02-19 Thread shy613
Hi Chris, I 'll be very happy if you can e-mail me those *.xml files. My e-mail i.d is [EMAIL PROTECTED] Thanks a lot with regards shy613 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=388#388 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Installation & Configuration] - jboss jmx console problem

2004-02-19 Thread madhurn_2000
Hi, I tried installing jboss doing the following unzipped the donloaded zip file set jboss_home in env variable and started jboss using run.bat the server starts up.But when i type the following url:http://localhost:8080/jmx-console/index.jsp in the browser i cannot see the management console i

[JBoss-user] [Clustering/JBoss] - Maximum number of HTTP Sessions in a cluster

2004-02-19 Thread dshimy_eh
I am running 3.2.3 with tomcat and session replication enabled. The system seems to max out with 9,829 sessions. Is there a hard limit? Is there a way to adjust the limit? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=386#386 Reply to the post :

[JBoss-user] [HTTPD, Servlets & JSP] - Help with pre-compilied JSPs clashing names

2004-02-19 Thread zorzella
To my great delight, I've managed to setup Tomcat to make use of the pre-compiled JSPs I generate with ant. What I've done is to add this to the global web.xml scratchdir ../server/default/jsps It works like a charm for a single deployment, but since it ig

[JBoss-user] [Installation & Configuration] - eclipse 3.0 and getting recent jboss 3.2.2 branch from cvs

2004-02-19 Thread vijay172
Hi, I am using eclispe 3.0 and I had pulled out jboss 3.2.2 branch from cvs.sourceforge.net:/cvsroot/jboss. I was able to create a branch Branch_3_2.But i wanted to pull some recent code changes from the cvs for branch 3.2.2 but I can't seem to do it.Could someone help me with this.Jboss-3.2 u

[JBoss-user] [Persistence & CMP/JBoss] - CMP Relationship Collection dilemma

2004-02-19 Thread supercleanse
Hi, I'm having problems with some of my entity beans... I have a bean that I lookup we'll call it entity bean "A"... So bean "A" has a one-way many-to-many relationship with bean "B"... thus, "A" has the following abstract methods: public abstract Collection getBs(); public abstract v

[JBoss-user] [Management, JMX/JBoss] - javax.management.timer.Timer problem in case of high load

2004-02-19 Thread molnarl3
Hi, There is a small task (saving some counter state into a database) which is executed periodically by a JMX timer in every 10 second. This works fine for me, but when a high load situation occures, then this timer dies (this task is NEVER executed again, even when the high load had been stopp

Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Ib Seratski
Hej i have also seen this on my developer server with jboss-3.2.2(with tomcat). HTTP Request seems to hang and after some hitting in the console it "weaks up" this happens regardles if i use the server machine or over network testet also throug the Jakarta Isapi Redirector. not a big issue right n

[JBoss-user] [Security & JAAS/JBoss] - Re: how to configure to use custom AuthenticationManager and

2004-02-19 Thread khohl
Thanks again for the additional information. I'm still having troubles I can't find answers for in the documentation - 3) Back to my original question here - what should the implementation of getActiveSubject() do? Do I need to do something like maintain a Map of thread names to Subjects and

[JBoss-user] [Beginners Corner] - Re: JMX client and Log4j

2004-02-19 Thread gjb9876
It's not that log4j is no longer working, in fact my log file is being created, but no log items exist. I've discovered that it is only logging ERROR level, not below (whereas before it logged INFO, DEBUG, all levels). I've setup my log4j.xml with the Threshold of DEBUG, so I assumed everythin

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Help on JMS for JBOSS

2004-02-19 Thread npdavis
"darranl" wrote : Chapter 5 of the quick start guide covers JMS configuration and message driven beans. Know where to find an example (XML files, and code) of how to set up an MDB on MACHINE_A running JBoss 3.2.x to connect to a queue on MACHINE_B running JBoss 3.2.x, through a firewall? I fou

[JBoss-user] [EJB/JBoss] - Re: javax.naming.NoInitialContextException

2004-02-19 Thread Aldo Martinez
could you fix the problem?.. i have the same problem :( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822214#3822214 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822214 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Mini-Howto: MDB listens on remote topic hosted by anothe

2004-02-19 Thread npdavis
jieshengz, Can you possibly repost your xml. It has been eaten. Use the code button: ) BTW thank you for posting this thx, Neil View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822213#3822213 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Nukes User] - Re: I can't see my pictures on my web-page!!!

2004-02-19 Thread mcscottmc
Just to follow up. After putting in the patch I tried to reproduce my errors and of course it turns out that it is user error :( I sometimes forget to put the "/" at the beginning of the filename and that causes it to throw. -Scott View the original post : http://www.jboss.org/index.html?mod

Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Roy Britten
Hi Peter, I've occasionally seen something similar happen in my development server (also JBoss 3.2.1 with Jetty). Oddly, hitting the key while in the console frees it up again (and releases a backlog of Log4j messages from "on-hold" requests). No idea why it happens, and cannot replicate at will

Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Peter Luttrell
Actually i don't think it has anything to do with the web container as we have a jmx service that runs every 60 seconds that always dumps stuff to the server.log. During the 3 minute nap, it didn't appear to run... .peter Rod Macpherson wrote: Use tomcat -- you knew that was coming:) -Or

Re: [JBoss-user] Performance Data

2004-02-19 Thread Andrew Oliver
The problem is that it varies so much by what your doing and how you do it. It matters so much about your database setup, the use case of your data (can it be cached, eager or lazy loaded), what operating system you're using, what version...that any numbers would be pretty useless. Look here: htt

[JBoss-user] JBoss Remoting help needed

2004-02-19 Thread Marek Lange
I have successfully realized to detect JBoss instances via the new remoting framework which is in 3.2. I aim at calling any jmx method on the detected server. I have tried to use org.jboss.remoting.Client. Javadoc says: "Client is a convience method for invoking remote methods for a given subsy

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Blocked in StdServerSession.start: PooledExecutor has no

2004-02-19 Thread [EMAIL PROTECTED]
Your analysis is off. 1) Doug says we must catch all exceptions otherwise the executor is broken (unless you prefill the pool by setting a minimum) That is what Genman fixed, no exception is thrown from StdServerSession.run() It is in cvs for the 3.2.4RC1. I still haven't seen what this exception

[JBoss-user] [Clustering/JBoss] - javax.naming.CommunicationException when calling a cluster e

2004-02-19 Thread cari34
Hi guys, I have a cluster enabled session bean deployed on JBOSS. The bean client uses the following properties : table.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); table.put(Context.PROVIDER_URL, ""); table.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jn

[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread acoliver
Hi Martin, most security experts tend to discourage "Security through Obscurity". Moreover, it doesn't take too many lines of code or too powerful of a machine to perform a dictionary or brute force crack these passwords. Meaning, if I've gotten to your password store, you're already wide open

[JBoss-user] [Frequently Asked Questions (FAQ)] - What is the optimal platform for JBoss?

2004-02-19 Thread unsane1
What is the optimal platform for running a JBoss production server? I'm looking for both operating system (MacOS X, Windows, Solaris, Specific Linux), as well as then processor technology and speed (AMD, Intel, PPC, Sparc), and recommended memory amount. I'm very interested in any published har

[JBoss-user] [Nukes User] - Re: JBoss 323/Nukes

2004-02-19 Thread javab0y
The new source fixed the boot errors. The only one left is when selecting the Blocks module, and selecting "menu / Main Menu". Here is the error: anonymous wrote : | 10:29:29,814 ERROR [block] Cannot invoke operation | org.jboss.nukes.utils.ConversionException: A property editor has not be

[JBoss-user] [Installation & Configuration] - Error handler and SMTP

2004-02-19 Thread sch-th
Hi, I Use SMPT appender to send me errors. But yesterday, when our mail server got a problem, SMTP appender blocked application. I'd like to to errorhandler to put SMTP errors in a file and solve me problem. Has anybody implemented this configuration in a log4j.xml file ? Tom View the original

RE: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Rod Macpherson
Use tomcat -- you knew that was coming:) -Original Message- From: Peter Luttrell [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 8:24 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] JBoss Took a Nap! We experienced an odd problem last night in one of our production servers

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Create Durable Subscription at runtime when clientID is

2004-02-19 Thread iherwig
Hello, after running additional tests i figured out, that it takes about half an hour from adding the user to the role until the associated topic is available to the user. Is this due to refresh timeouts and if so is it possible to configure these? Thanks in advance and regards, ingo. View the

[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread Martin0
Thanks Andrew - I'll take a look. After a bit of research, my current thoughts are: 1) Use JAAS - I need this anyway 2) Use jboss DatabaseServerLoginModule 3) encrypt password with md5 4) (d)encrypt other data with Password-based encryption from JCE within ejbLoad/ejbStore The only downside of 4

[JBoss-user] [JBoss Getting Started Documentation] - [NestedThrowable] Duplicate throwable nesting of same base t

2004-02-19 Thread jacklyn
Ok, first of all, I've got: Eclipse 2.1.2 Lomboz 2.1.2 JBoss 3.2.3 Can anybody help me with the "jboss323all.server" configuration? My "jboss323all.server": | | | | | | | /server/all/deploy | /server/all/deploy | /server/all/deploy | org.jnp.interfaces.NamingContextFa

[JBoss-user] [Installation & Configuration] - Re: Jboss performance

2004-02-19 Thread nickman
Bill Burke posted a very useful disertation on tuning for performance here: http://jboss.org/jbossBlog/blog/bburke/?permalink=Optimizing+JBoss%3A+Experiences+with+SPECj2002.html More information on exactly what you are seeing would be helpful. Also consider the following: 1. Review your Tomcat

[JBoss-user] [Messaging, JMS & JBossMQ] - When to release JMS resource in container-mamager transactio

2004-02-19 Thread jieshengz
Hi, I have a stateless session bean which will use the java:/JmsXA to obtain connectionFactory, connection and session. The method transaction is container managed. When should I release these resource? If I release the resource before the method return, the JMS transaction (which is within

[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread acoliver
I'm not sure I think this is a good idea but you can go look here: http://cvs.sourceforge.net/viewcvs.py/jboss/nukes/nukes/src/main/org/jboss/nukes/core/modules/user/UserModule.java?rev=1.29&view=markup -Andy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822

[JBoss-user] [Installation & Configuration] - Re: Is there a Remote-Deployment solution?

2004-02-19 Thread schmidts
See http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system%3Aservice%3DMainDeployer And invoke deploy(java.net.URL) providing the URL of the component you want to deploy. Works fine for me. (Actually, this could be also done programmatically without using the jmx-co

[JBoss-user] [EJB/JBoss] - Re: How possible create user session in server?

2004-02-19 Thread olegsafonov
I understand how create session bean, but I want store reference on stateful session bean in cach, at that other bean, which created same user can call method of this bean, of course I can send reference on my bean how parameter in each methods of my other bean, but it is not fine, in HttpSessio

[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread schmidts
Yes, guessing that PostgreSQL does not support transparent encryption on the database server side, you'd have to implement this in your application. EjbLoad() and ejbStore() could be the key in an implementation where you'd extend the default behaviour of CMP. Check section 10.3.9 of the EJB 2.

[JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Peter Luttrell
We experienced an odd problem last night in one of our production servers running JBoss3.2.1 (with Jetty). The entire things simply stopped responding for ~3 minutes! It didn't complete any of it's web requests nor write anything to the log for the entire period - something i've never seen befo

[JBoss-user] [Security & JAAS/JBoss] - Please help! Problems configuring authentication.

2004-02-19 Thread nerotnt
I'm using JBoss 3.2.3. I've put myapp-ds.xml in the "deploy" directory: | | | | | jboss:service=Hypersonic | myappDS | jdbc:hsqldb:hsql://localhost:1701 | org.hsqldb.jdbcDriver | 5 | myapp | | | I've configured login-conf.xml by adding

Re: [JBoss-user] [Installation & Configuration] - Re: changing port

2004-02-19 Thread Goncha
On Thu, 19 Feb 2004 09:15:11 -0500 (EST), "saeedamer" <[EMAIL PROTECTED]> said: > I am using "jboss-3.0.6_tomcat-4.1.18" and had the same problem. Oracle > 9i server had occupied port 8080 and JBoss (tomcat in fact) was trying to > listen on the same port and could not. > > Well, after wondering

[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread Martin0
Thanks for the response so far. My database is Postgresql 7.4.1, and as well as passwords (MD5 noted), I also want to store other data that I need read+write access. I'm still gaining EJB knowledge - do ejbStore and ejbLoad play a part in this? Thanks again Martin View the original post : htt

[JBoss-user] Tomcat - disable session serialization

2004-02-19 Thread Keysers Wonne
Hi, I posted this on the forum, but apparently it didn't make it though to the mailing-list... Is it possible to use the war's META-INF/context.xml to override the default session manager configuration? I tried to disable this session serialization, which occurs on undeployment, but was un

[JBoss-user] [Nukes User] - Re: [ERROR MESSAGE], console server error message

2004-02-19 Thread itchiban
Thank's a lot for helping. It's sure this is not my last message so prepare yourself. I hope you'll continue to reply!! see ya!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822169#3822169 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [EJB/JBoss] - Does anybody true resolve the

2004-02-19 Thread alanBen
When i start jboss 3.0.7, all running fine , but when i redeploy some (not all ) Bean , the errors : 23:26:04,195 INFO [EJBDeployer] | Bean : PmmMoserials | Method : public abstract PmmMoserials create(String) throws CreateException | Section: 12.2.11 | Warning: The return type for a c

[JBoss-user] [Installation & Configuration] - Jboss performance

2004-02-19 Thread twutort
Hello, I'm doing some testing for my company to determine if we should switch to JBoss over Weblogic. I'm runnig the same application with the in the same environment on both servers. It seems that Weblogic is outperforming JBoss by a lot. A lot of our http request are timing out with a lot

[JBoss-user] [HTTPD, Servlets & JSP] - Tomcat 5 and JSP Expression Language (EL)

2004-02-19 Thread mjremijan
I downloaded the lates 3.x relase of JBoss and I updated to the Tomcat5 iin the examples directory. However, Expression Language support (EL) is not working. So if I have a bean in the PageContext named "person", when I do this... ${person.firstName} ...in the JSP page I do not get the name,

Re: [JBoss-user] [EJB/JBoss] - Re: CMP:Where my data is going?

2004-02-19 Thread Goncha
On Thu, 19 Feb 2004 08:42:27 -0500 (EST), "triathlon98" <[EMAIL PROTECTED]> said: > The start of your jbossjdbc-cmp.xml is wrong. It should be something like > : > > > "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";> > > > > java:/PostgresDS > PostgreSQL >

[JBoss-user] [Installation & Configuration] - Re: changing port

2004-02-19 Thread saeedamer
I am using "jboss-3.0.6_tomcat-4.1.18" and had the same problem. Oracle 9i server had occupied port 8080 and JBoss (tomcat in fact) was trying to listen on the same port and could not. Well, after wondering here and there - changing this .xml file and that .xml file, I finally foud the one that

[JBoss-user] classloaders & webapplication inside ear

2004-02-19 Thread harm
Hi all, I think I have some sort of problem with classloaders in my application. I have a EAR file which contains an EJB jar file. It also contains 2 WAR archives. Both WAR archives are STRUTS applications. My struts applications use a different ApplicationResource.properties file for external

[JBoss-user] [Datasource Configuration] - cp-ds.xml Ingres DataSource

2004-02-19 Thread nasser
Hi I obtain to carry through the connection with ingres using ca.edbc.jdbc.EdbcDriver , normally!! How I could make this same connection using following class ca.edbc.jdbcx.EdbcCPDataSource ? Any aid I am thankful. Nasser Auada View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [EJB/JBoss] - Re: How possible create user session in server?

2004-02-19 Thread marc fleury
There are many examples in the documentation that will help you create a session bean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822162#3822162 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822162 ---

[JBoss-user] [Security & JAAS/JBoss] - SSL on single page

2004-02-19 Thread JJuser
I'm looking for a way to secure a single page using SSL inside an application. Anyone knows if it is possible to do in a declarative way in jboss? I'm using jboss 3.2.1 with tomcat 4.1.24. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822

[JBoss-user] [Messaging, JMS & JBossMQ] - Blocked in StdServerSession.start: PooledExecutor has no thr

2004-02-19 Thread Thoennes
Hi, we have seen a related post recently in this forum, where genman analyzed the situation and added a fix in the HEAD of Branch_3_2: anonymous wrote : | revision 1.14.2.3 | date: 2004/01/13 19:21:25; author: genman; state: Exp; lines: +21 -1 | Throwable / Thread.interrupted must be c

[JBoss-user] [Nukes User] - Re: [ERROR MESSAGE], console server error message

2004-02-19 Thread leberre
I got the very same problem with Mozilla (1.6) too. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822159#3822159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822159 -

[JBoss-user] [Installation & Configuration] - Re: protocol violation

2004-02-19 Thread sarantin
Hi, I tried different jdbc drivers (classes111, classes12 and classes14) but still the same message appears. The Jboss server is running to a Unix machine. When I try it from a Jboss running to Windows (2000) (accessing the same db), no such message appears. Therefore, I am pretty sure that is a

[JBoss-user] [JBoss.NET & SOAP] - jboss-net.xml-schema

2004-02-19 Thread dinesh_soma
I have the following : package uk.co.foo; /** * @jboss-net.xml-schema urn="pcc:Process" */ public class Process implements Serializable { ... } In my build.xml I have: < jbossnet webDeploymentName="BPMService" prefix="pcc"destDir="" targetNameSpace="http://www.foo.co.uk/cc"/> No type

[JBoss-user] [EJB/JBoss] - Re: CMP:Where my data is going?

2004-02-19 Thread triathlon98
The start of your jbossjdbc-cmp.xml is wrong. It should be something like : http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";> java:/PostgresDS PostgreSQL false false ... followed by everything which is The XML really has to be correct!

[JBoss-user] [EJB/JBoss] - CMP:Where my data is going?

2004-02-19 Thread mandarjboss
To, Mr. Bandaru Kagaru, I am trying to develop a J2EE(CMP2.0 based) application with JBoss3.2.2.I am able to successfully configure the datasource for PostgreSQL.I have tested the datasource with manual lookup and connection establishment. It is successful. Now the prob

[JBoss-user] [Installation & Configuration] - Re: Is there a Remote-Deployment solution?

2004-02-19 Thread murxx
Do you have some resource for this jmx-console deployment?! Does this HTTP-Address take a whole file?! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822154#3822154 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822154

Re: [JBoss-user] Do the beans get redeployed automatically once the DB server comes up..??

2004-02-19 Thread Joachim Van der Auwera
shubhu mutta wrote: 1. At the time of JBOSS Startup, the DB is up. JBOSS creates the connection pool and the beans get deployed. After some time the DB goes down. Do the beans get automatically undeployed? No Once the DB comes up, do the beans get automatically

Re: [JBoss-user] customizing JBoss config. and footprint (newbie question)

2004-02-19 Thread Joachim Van der Auwera
Nick Faiz wrote: Hi, Can someone point me to a starting place for learning about how to configure JBoss modules? As I understand it, I can strip out whatever functionality I don't want within the JBoss server; for example, I may want JMS without a Servlet Container? See jboss.org, getting

[JBoss-user] [EJB/JBoss] - How possible create user session in server?

2004-02-19 Thread olegsafonov
How possible create user session in EJB server like HttpSession in web server? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822153#3822153 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822153 -

[JBoss-user] [Installation & Configuration] - Re: Is there a Remote-Deployment solution?

2004-02-19 Thread schmidts
You can avoid deployment failures because of incomplete files by first copying (ftp'ing, whatever) the file to a separate directory (on the same filesystem) and then just moving it into the deployment directory. For remote deployments without accessing the filesystem of the application server A

[JBoss-user] [Frequently Asked Questions (FAQ)] - Is it *really* possible to use Log4j ?

2004-02-19 Thread juliof
Hi ! Am am trying to use Log4j with JBoss, with 2 restrictions : - I want my code to be not app-server specific ( using the apache log4j lib ). - I want to have the configuration files inside my app, no in server config. Is this possible to do ? I am having a really hard time configuring j

[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread schmidts
Regarding passwords, you can use one-way encryption (e.g. using MD5) and store only store/compare the results. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822150#3822150 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

  1   2   >