[JBoss-user] [Management, JMX/JBoss] - Introspect EAR file to find contents

2004-08-28 Thread raja05
JBoss Version: 3.2.2RC4 OS: Redhat 9 JDK Version: 1.4.2 Im trying to introspect a EAR file using JMX at runtime and find the components(jars, wars and sars) that make up the ear file. Is there a possible way to do this? Looks like the EAR Objectname has a "modules" attribute that displays only th

[JBoss-user] [EJB/JBoss] - Re: connecting MySQL & unicode problem

2004-08-28 Thread roohy
hello dear friends I have the same problem and solved it I used UTF-8 (farsi ) it seems that data insert and retrive correctly to/from database . but searching has problem I could not search on text area in database thanks for help View the original post : http://www.jboss.org/index.html?modul

[JBoss-user] [Messaging, JMS & JBossMQ] - how to Config The JBoss4.0 Provider_Url ?

2004-08-28 Thread pumawang
I want to connect to a Jboss Jms queues ,send and receive the Message from the queues , I config the Jboss at ip: 10.4.0.111, I can send and receive message on the same machine .. but how can I do this at another machine ? when I run the program ,the error is : ... javax.naming.CommunicationExc

[JBoss-user] [Installation & Configuration] - JBOSS IPAddress Problem

2004-08-28 Thread daveedyeo
HI, Please help me with this. I have just installed JBoss 3.2.5 on a Redhat 9 powered box. JBoss does not seem to be able to detect the IPaddress of the server it is installed on. Please see below. any clues what has gone wrong? Using ifconfig, the machine is already allocated with an ipaddress.

[JBoss-user] [EJB/JBoss] - ClassCastException when accessing Remote EJB with JBoss 3.2.

2004-08-28 Thread rcostanzo
I just upgraded from JBoss 3.2.2 with Jetty to JBoss 3.2.5 with Tomcat. One issue I am running into is I access a stateless session EJB of one JBoss server from a servlet in another JBoss server. This works fine in my current JBoss. However, with 3.2.5 I get a ClassCastException when it tries to

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using WSMQ ( yet another question )

2004-08-28 Thread nusa
No, I didn't broke anything ! Here is a snapshot of my boot.log : ... 02:34:27,472 DEBUG [ServerInfo] java.library.path: /opt/Java/j2sdk1.4.2_04/jre/lib/i386/server:/opt/Java/j2sdk1.4.2_04/jre/lib/i386:/opt/Java/j2sdk1.4.2_04/jre/../lib/i386:/opt/mqm/lib:/opt/mqm/java/lib ... 02:34:27,473 DEB

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

2004-08-28 Thread [EMAIL PROTECTED]
You don't appear to understand how it works. If you can't find documentation on how to do it, that is because either: 1) Nobody has done it before 2) Somebody has done it before, but not contributed it back to the community. There are two options: A) You can work it out for yourself (and contribu

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

2004-08-28 Thread skidvd
Adrian: I have to very respectfully disagree. I have read and re-read the JBoss admin docs including Chapters 6 and 8 concerning JMS and Security - no not between my last two posts, but over the last week or so. Through that docuementation, there are some very helpful samples relative to gett

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using WSMQ ( yet another question )

2004-08-28 Thread [EMAIL PROTECTED]
This link has information on debugging classloading: http://www.jboss.org/wiki/Wiki.jsp?page=EnableClassloaderLogging But most likely, you have broken the class visibility by adding by adding jars to the classpath or jre/lib/ext View the original post : http://www.jboss.org/index.html?module=bb

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

2004-08-28 Thread [EMAIL PROTECTED]
You clearly aren't making an effort to read the docs. Your response is too quick. If you had read the docs, you would have discovered the troubleshooting section for jsse. Nor have you used search, otherwise you would have found a previous discussion about trust stores in this forum: http://www.j

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using WSMQ ( yet another question )

2004-08-28 Thread nusa
Yes, as I said 'weird' ... Here is a snapshot of the boot.log : ... 10:42:34,421 DEBUG [SARDeployer] deployed classes for file:/home/nusa/Java/Software/jboss-4.0.0RC1/server/default/lib/com.ibm.mq.jar 10:42:34,421 DEBUG [SARDeployer] deployed classes for file:/home/nusa/Java/Software/jboss-4.0.0

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

2004-08-28 Thread skidvd
I figured it would look obvious - however it's apparently not really that simple. The server running the MDB and the server running JNDI are one and the same. I want to stress again that I have SSL correctly working for everything BUT this case. I use SSL for HTTP, RMI/SSL, RMI/HTTPS and JND

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

2004-08-28 Thread [EMAIL PROTECTED]
anonymous wrote : | Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found | Looks obvious to me: The server running the mdb doesn't trust the server running jndi. I suggest you research how ssl works. In particular key stor

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS and HTTPServerILService - still having problems

2004-08-28 Thread skidvd
"[EMAIL PROTECTED]" wrote : Change the "properties" on the jms provider to use jndi over https. Adrian: Unfortunately, I am still not there yet. I'm sorry for the apparently simple questions, but I have been reading everything I can find and digging into this as hard as I can for well over a

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using WSMQ ( yet another question )

2004-08-28 Thread nusa
Adrian, It was a typo error, the jar was already in default/lib, not deploy/lib. Any idea ? Thanks. nusa. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846568#3846568 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: On-the-fly durable subscriptions?

2004-08-28 Thread jmargaglione
Adrian, Thanks for the pointer to the FAQ. I had actually already read it, but I missed a key point: the setClientID must go before the createDurableSubscriber. I had the setClientID after the createDurableSubscriber, right before connect. I was under the false impression that this was the p

[JBoss-user] [JCA/JBoss] - Re: Problem with deployment of non-static *-ds.xml

2004-08-28 Thread [EMAIL PROTECTED]
Moderated: Your question is unanswerable since you don't explain how you deploy the url. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846566#3846566 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846566 ---

[JBoss-user] [JCA/JBoss] - Re: java.sql.SQLException: No suitable driver ( oracle)

2004-08-28 Thread [EMAIL PROTECTED]
The jdbc odbc bridge driver (which is not threadsafe by the way) does not implement the Oracle thin driver. Why don't you use a DataSource like normal people? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846565#3846565 Reply to the post : http://www.jboss

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Durable Topic Question

2004-08-28 Thread [EMAIL PROTECTED]
The JMS spec does not allow two clients to receive concurrently from the same durable subscription. You can have two clients receiving from the same topic, but these are different subscriptions with their own copies of the messages. View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS communication between JBoss and Weblogic

2004-08-28 Thread [EMAIL PROTECTED]
Moderated: Your question is unanswerable. See the FAQ about how to post relevent information. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846563#3846563 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846563 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: YO! - mdb deployment trouble

2004-08-28 Thread [EMAIL PROTECTED]
anonymous wrote : | john | needle | DurableSubscriberExample | If you are using the default configuration (used by the jboss testsuite) "john" already has a preconfigured client id. So you cannot "change" the client id on the connection, so remove the mdb-client-id. You can reproduce

[JBoss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: StoreAccessBean not

2004-08-28 Thread tony1929
Sorted the problem the tag in StoreAccessBean @ejb.ejb-ref ejb-name="Customer" view-type="local" ref-name="CustomerLocal" generates the following in the ejb-jar CustomerLocal Entity au.com.tusc.bmp.CustomerLocalHome au.com.tusc.bmp.CustomerLo

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

2004-08-28 Thread [EMAIL PROTECTED]
That interface changed in 3.2.4 http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/jms/asf/ServerSessionPoolFactory.java?r1=1.5&r2=1.5.2.1 You might ask Sonic why they want you to use their server session pool when the spec clearly states it should be provided by the application

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: On-the-fly durable subscriptions?

2004-08-28 Thread [EMAIL PROTECTED]
Moderated FAQ: http://www.jboss.org/wiki/Wiki.jsp?page=WhatIsTheCorrectWayToMakeADurableSubscription View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846558#3846558 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846558

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using WSMQ ( yet another question )

2004-08-28 Thread [EMAIL PROTECTED]
put the jar in server/default/lib View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846559#3846559 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846559 --- This SF.Net

[JBoss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: StoreAccessBean not

2004-08-28 Thread tony1929
Hi Vishal, I started from scratch and managed to get chapter 3 up and running, but ended up with the same problem in Chapter 5. javax.naming.NameNotFoundException: StoreAccessBean not bound. I really want to get to the bottem what causes this problem, can you give me any hints on how to debug

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: On-the-fly durable subscriptions?

2004-08-28 Thread jmargaglione
I wanted to point out that I read the post by shartvig, and though he has similar issues he is not in quite the same situation as I am. In his case there is only one JBoss instance to update, and there is likely a computer-literate person available to make adjustments to that one JBoss instance

[JBoss-user] [Security & JAAS/JBoss] - Re: isCallerInRole problem

2004-08-28 Thread maiden
I solved the problem. I forgot to add a block to my deployment descriptor. Thanks a lot for answers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846554#3846554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846554

[JBoss-user] [Messaging, JMS & JBossMQ] - On-the-fly durable subscriptions?

2004-08-28 Thread jmargaglione
I am creating an architecture built around JMS, but with a slightly novel approach. Before I describe my problem, let me first give a couple restraints I have on the architecture: 1. This is an embedded piece of software, delivered as part of a hardware solution for Factory Automation. 2. The

[JBoss-user] [Nukes User] - Re: Comments on the module Downloads

2004-08-28 Thread chasetec
I've recently been appointed as lead for the downloads module and I've already decided a file upload option is something I'd like to see. However I am not so sure if it's something that will make it in to the Nukes 1.1 release. Right now I'm just trying to make the downloads module stable and fi

[JBoss-user] [Nukes User] - Re: Comments on the module Downloads

2004-08-28 Thread ThorntonD
How about making the download module upload and download files to a directory on the server as well? That would be a very useful feature for many web sites, end users could upload/download whatever files they wanted to. A lot of end users will want to share files but they are not going to have

[JBoss-user] [Nukes User] - Re: deploye more thant one jboss nuke on a jboss app server

2004-08-28 Thread ThorntonD
I have done this with Nukes. What I did was the following: 1) Download the Nukes source from CVS. 2) Do a find and replace on the word nukes to nukes1 for the entire source tree and make the find and replace case sensitive. Do the same thing to rename Nukes to Nukes1. Rename all the direc

[JBoss-user] [Nukes User] - Re: fix for nukes-installer.war and mysql database

2004-08-28 Thread ThorntonD
I am using the mysql database that comes with Red Hat Linux 9. It is mysql version 3.23. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846547#3846547 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846547 ---

[JBoss-user] [Persistence & CMP/JBoss] - auto-create tables using hibernate as JCA

2004-08-28 Thread komone
Hi, After reading the draft EJB 3.0 I should learn a lot more about it hibernate! It's been pretty easy to get going, and seems a lot faster at higher loads than EJB 2.0 entities :), but there's a level of automation in development that I sorely miss. I'm using JBoss 3.2.x and up to now was u

[JBoss-user] [Installation & Configuration] - Re: org.apache.jasper.JasperException: Unable to compile cla

2004-08-28 Thread rrendec
"rrendec" wrote : Looks like ant creates those temporary files in the current user's home directory, as reported by System.getProperty("user.dir"). Obviously, for my setup it reports "/opt" ;) Oops... System.getProperty("user.dir") is the "current directory", not the "home directory". As for JB

[JBoss-user] [Nukes User] - Re: deploye more thant one jboss nuke on a jboss app server

2004-08-28 Thread theute
This is not something that can be done so far. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846544#3846544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846544 --

[JBoss-user] [Nukes User] - deploye more thant one jboss nuke on a jboss app server

2004-08-28 Thread newbeewan
Hi, I want to host 2 instances of jboss nukes on the same jboss. Why ? because I host 2 sites completly different with differents purpose using distinct data sources on my server. My pb : I've got lot's naming pb with the nukes mbeans Is there somebody who did it ? Is there some docos on that subj

[JBoss-user] [Installation & Configuration] - Re: org.apache.jasper.JasperException: Unable to compile cla

2004-08-28 Thread rrendec
"rrendec" wrote : | Hope this is helpful. Maybe someone knows how to set ant so that it creates temporary files under a certain directory. Well... I digged some more. The relevant lines from ant source code: String userDirName = System.getProperty("user.dir"); File userDir = new File(userDirN

[JBoss-user] [Security & JAAS/JBoss] - Problems with UsersRolesLoginModule module

2004-08-28 Thread balteo
Hello Scott, I had actually read the howto and my question related to it. If I understand you, the ClientLoginModule is in charge of propagating the caller identity to the ejb layer. What I don't understand then is that without using the UsersRolesLoginModule (I commented out the login-module e

[JBoss-user] [Installation & Configuration] - Re: org.apache.jasper.JasperException: Unable to compile cla

2004-08-28 Thread rrendec
"pedalian" wrote : I have installed the JDK, and JAVA_HOME points directly at it. It is the same environment setting on the same machine that works fine when I run Tomcat by itself, and it has no problem finding the compiler. There is a JRE subdirectory under JAVA_HOME, but that is OK, right?

[JBoss-user] [HTTPD, Servlets & JSP] - Re: POST request truncated in JBoss but not in WebLogic?

2004-08-28 Thread thebadpete
Hi there, Yes, I figured it out. It turns out that you will need to read the ServletInputStream byte-by-byte, something like the following: InputStreamReader insr = new InputStreamReader(req.getInputStream()); BufferedReader in = new BufferedReader(insr); // cntLen is the length indicated in HT

[JBoss-user] [Nukes User] - jboss mambo clone

2004-08-28 Thread bmedwar
Has anyone considered a jboss clone of mambo? http://www.mamboserver.com View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846534#3846534 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846534 -

[JBoss-user] [Beginners Corner] - Re: Native Library already loaded in another classloader

2004-08-28 Thread mrchucho
Is there a better way to load and/or use the native library, so that this isn't an issue? RMC View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846533#3846533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846533 -

[JBoss-user] [Nukes User] - Re: A few HOWTO questions

2004-08-28 Thread theute
"k-dub" wrote : How do I make the Disable HTML in this post and Notify me when a reply is posted options selected by default? You can disable HTML for everyone by using the jmx-console: http://localhost:8080/jmx-console/ At the bottom you will find nukes.module and just below, name=bb click on i

[JBoss-user] [Nukes User] - Re: fix for nukes-installer.war and mysql database

2004-08-28 Thread theute
Can you give me details about your database, i tried for mysql, postgresql and hsqldb under Linux. (any other database is not yet supported) I am very surprised by the error message you got. I would love more details. Thanks View the original post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Nukes User] - Re: Comments on the module Downloads

2004-08-28 Thread theute
AFAIK fhe 'Downloads' module does not store any file (no upload), it just stores metadata about files and count how many times the file has been downloaded. These are just links to actual files that are probably not on your server (it could be). View the original post : http://www.jboss.org/ind

[JBoss-user] [Messaging, JMS & JBossMQ] - Using WSMQ ( yet another question )

2004-08-28 Thread nusa
Hi, I'm using JBoss 4RC1 to create an MDB listening to WebsphereMQ. But encounter a weird problem. Here are steps I did : 1. I add these in standardjboss.xml : | | wsmq-message-driven-bean | whatever | org.jboss.ejb.plugins.jms.JMSContainerInvoker |

[JBoss-user] [Javassist user questions] - How to get an instance of a a class create with makeClass

2004-08-28 Thread mxc4
Hi all, Ok so I create a class from scratch using the makeClass method. How do I get an instance of this newly created class? I thought maybe trying newclass x = new newclass but wont the compiler complain about not being able to find the class at compile time? thanks View the original post :