[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Urgent : JMS Configuration Help

2004-11-16 Thread genman
Any errors on startup? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855470#3855470 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855470 --- This SF.Net email is s

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

2004-11-16 Thread genman
For what you're doing, I think an MDB is the wrong strategy. What an MDB is for is for processing a single message, I don't even know if consuming additional messages from JMS via the MDB is even allowed by the spec. Create yourself a QueueSession and a hash table made up of correlation IDs as

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Browse queue in reverse order? Get message queue count?

2004-11-16 Thread genman
The queue depth comes from an object that does not implement the javax.jms.Queue interface. So you can't cast it to that object to get the depth. What you want to do is get the MBeanServer and then look up the depth through JMX. Take a look at the Wiki. View the original post : http://www.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 loadtesting and threads

2004-11-16 Thread genman
I think what is suggested by the JMS architecture is this: 1. Create a single connection to JBoss from the connection factory per Java process 2. For each thread that you use, create a separate Session 3. For each session, you can create as many queue reader and senders as you like. Typical

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: javax.jms.InvalidDestinationException

2004-11-16 Thread kenshin81
pankilshah82, would you be kind enough to post ur solution? i meet the same problem. thanks a lot View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855465#3855465 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855465

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Consumers stop listening after a period of time.

2004-11-16 Thread kalyan120
Look at my replies for similar posts. I too had the same problem, and solved it using the approach that I have mentioned: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=52269 http://www.jboss.org/index.html?module=bb&op=viewtopic&t=56560 HTH, Thanks, Kalyan View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: ClassLoader can not find a MBean class that sits in the

2004-11-16 Thread vitaly1
Hi ! those are my methods :) (derived from MX4J) one gets signature Class[] another actual values and getObject gives ObjectName instance The use case is like this: 1. I want to be able to load the same JMX beans on JBoss, Bea, etc. 2. To do the above I defined my own xml config file (enhaced MX4J

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem in ConnectionFactory lookup at Remote Jboss behi

2004-11-16 Thread kalyan120
Essentially there are three ports are to be visible across the firewall. (Without JMS in the picture). 1. rmi object port 2. rmi port 3. naming port Depending on the Invocation Layer you use, you might also require to open a port for JMS. 4. UIL2 server bind port. Look at the following link:

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 loadtesting and threads

2004-11-16 Thread kalyan120
For every message that comes into the JMS Server via UIL2, the SocketManager seems to be starting two threads: One ReadTask and another WriteTask. So, you are seeing two threads for every message. Your test is a good one. But for every run, you are creating the following: 1) Connection 2) Sessio

[JBoss-user] [Management, JMX/JBoss] - About Securing JSR77 - J2EE Management

2004-11-16 Thread diripu
My Remote client application is using JSR77 - J2EE Management way for monitoing JBoss. So it is using the stateless bean ejb-management.jar and using the JNDI lookpup "ejb/mgmt/MEJB". Is there anyway this application(stateless bean) can be secured by username and password . Do i need to consi

[JBoss-user] [Installation & Configuration] - Re: Spawning new Jboss instances from a single installation

2004-11-16 Thread kalyan120
This could be of help: http://www.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855459#3855459 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Installation & Configuration] - Re: uil2.SocketManager -> exiting on unexpected error

2004-11-16 Thread kalyan120
To my knowledge, the SocketManager spawns a thread for every request or message that comes in (via JMS). Once it returns back the result, it must remove the corresponding resources. I'm sure the code would be doing this as well. How did you increase the no. of clients to 50? Is the client you a

[JBoss-user] [Security & JAAS/JBoss] - Re: LdapLoginModule overrides the principal and credentials

2004-11-16 Thread Claudio4J
Sorry for the delay. LDAP has the following data: | # user | dn: uid=eliane,ou=People,dc=claudius,dc=com | cn: Eliane Almada Miranda | givenName: Eliane | objectClass: top | objectClass: person | objectClass: organizationalPerson | objectClass: inetorgperson | sn: Miranda | t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem in ConnectionFactory lookup at Remote Jboss behi

2004-11-16 Thread soniasahni
Sorry, the IP address was there, mistyped it in the post. Yes, could telnet to host/port View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855455#3855455 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855455 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: ApplicationDeadlockException

2004-11-16 Thread camel
I had the same problem and found the wiki useful, as well as the discussion in the docs about deadlocks. Wiki: http://www.jboss.org/wiki/Wiki.jsp?page=CMPLocking Docs: http://docs.jboss.org/jbossas/admindevel326/html/ch5.chapter.html#ch5.entitylock.sect I started using the Instance Per Transa

[JBoss-user] [Management, JMX/JBoss] - Re: exposing jmx mbeans to remote clients

2004-11-16 Thread geamanda
Thanks for clearing up my confusion on MBeanServerInvocationHandler. The confusion comes from newProxyInstance() takes MBeanServerConnection as a signature and the javadoc talks about MBeanServer (which didn't shout 'local' to me). Well seems we users are quickly tied to JMX implementation spec

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom handling with BASIC authentication

2004-11-16 Thread cglommen
Can someone from JBoss point me in the right direction for these items? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855450#3855450 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855450 -

[JBoss-user] [Beginners Corner] - I would like to extend the JBoss logger

2004-11-16 Thread infectedrhythms
I need to extend the JBoss logger to add my own XLevel and the appropriate methods to the logger I.e log.operations("something hapenned!"); I would liek to create my own level since I would like to send E-mails in my applications on specific events not just errors. I have this working standalon

[JBoss-user] [Management, JMX/JBoss] - Accessing other services.

2004-11-16 Thread infectedrhythms
How can I use another service within my own service? For instance I would like to use the Logging service and possibly the thread pool service in my application. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855448#3855448 Reply to the post : http:

[JBoss-user] [Installation & Configuration] - Spawning new Jboss instances from a single installation

2004-11-16 Thread drmack
Hello All, Is there anyone out there who might know if jboss is capable of spawning off multiple instances from a single installation. Which basically translates to starting multiple jboss instances with different configurations. I know that this can be done with tomcat but with jboss i am

[JBoss-user] [Security & JAAS/JBoss] - Re: redirect to favicon after login?

2004-11-16 Thread petethechop
http://blog.gilluminate.com/?b=20041116162144 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855446#3855446 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855446 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Browse queue in reverse order? Get message queue count?

2004-11-16 Thread nsayer
We're happily using a Jboss 4.0 application server to host a JMS queue we use. Our actual use of the queue is straightforward, and is working very well. As part of our monitoring strategy, we want to periodically (every minute or so) examine the queue to look at the oldest message, the youngest

[JBoss-user] [Management, JMX/JBoss] - jbossInternalLifecycle(...) what does it do?

2004-11-16 Thread infectedrhythms
I create my class using eclipse and I had it implement all the interface methods... On of those methods is jbossInternalLifecycle(...) I noticed when this method exists the startService(), stopService, destroyService() etc... methods do not get called... So I commented out that method and rec

[JBoss-user] [Management, JMX/JBoss] - Re: ClassLoader can not find a MBean class that sits in the

2004-11-16 Thread [EMAIL PROTECTED]
out of curiocity, what are those: getMethodSignature(this) getMethodArguments(this, server) getObjectName() Isn't you 1st mbean loaded using a -service.xml or .sar archive? What is the use case you are trying to implement? View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Persistence & CMP/JBoss] - Transaction isolation on 3.2.x with CMT (not CMP) using stra

2004-11-16 Thread heapstor
I need to be abe to declare per-method transaction isolation levels in JBoss 3.2.x using container managed transactions but with bean managed persistence (we are using CMT but with a typical DAO pattern using JDBC under the covers). I think I remember reading somewhere that starting with one of

[JBoss-user] [Management, JMX/JBoss] - Re: ClassLoader can not find a MBean class that sits in the

2004-11-16 Thread vitaly1
So, I ended up with this code: The trouble is it not working just like before - ClassNotFoundException :( eflectionException: Class not found: com.percussion.jmx.test.SimpleListener Cause: java.lang.ClassNotFoundException: com.percussion.jmx.test.SimpleListener ClassLoader cl = this.g

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP many-to-many relationship with 3 beans

2004-11-16 Thread Benzin2
Thank you for your response! I have tried to implement what you say but not been successful. I have searched for examples on the net and found some but they do not seam to work. Could you please give me some relevant examples of xml and source code (ejbCreate and ejbPostCreate) or perhaps let m

[JBoss-user] [Persistence & CMP/JBoss] - Re: error while deploying titan.jar + jboss3.2.2

2004-11-16 Thread jobor
The EJB 2.0 spec. dictates the following for the ejbCreate method : The throws clause must define the javax.ejb.CreateException. The throws clause may define arbitrary application specific exceptions. So I think there may be a bug in the software. Just add the throws clause and compile the class

[JBoss-user] [Management, JMX/JBoss] - Re: ClassLoader can not find a MBean class that sits in the

2004-11-16 Thread vitaly1
If I can not use this method, that means I need to do all the introspection, call a constructor myself isn't there a better way to do it? ObjectInstance createMBean(java.lang.String className, ObjectName name, ObjectName loaderName, java.lang.Object[] params, java.lang.String[] signature) Vie

[JBoss-user] [Beginners Corner] - Re: Running a junit test from inside of Eclipse 3.0

2004-11-16 Thread jsimone
Still having problems getting my Junit test case to run. I still can't connect to my remote session EJB. My code is failing in the JNDI lookup. Can someone who has done this post some simple guidance. Many thanks, Joe View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Management, JMX/JBoss] - Re: ClassLoader can not find a MBean class that sits in the

2004-11-16 Thread vitaly1
oops, it actually expects ObjectName loaderName how do I get ObjectName of the loader? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855435#3855435 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855435 -

[JBoss-user] [Management, JMX/JBoss] - Re: ClassLoader can not find a MBean class that sits in the

2004-11-16 Thread vitaly1
Wonder if this will work too? trying it now.. ClassLoader cl = this.getClass().getClassLoader(); obj = server.createMBean(className, getObjectName(), cl, getMethodArguments(this, server), getJMXMethodSignature(t

[JBoss-user] [EJB/JBoss] - Re: InitialContext(JNDI) not found

2004-11-16 Thread adicko
InitialContext simply checks if a JNDI-Object exists. Whether there is no a new is instantiated (using the props) otherwise the existing returned. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855433#3855433 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Management, JMX/JBoss] - Re: ClassLoader can not find a MBean class that sits in the

2004-11-16 Thread [EMAIL PROTECTED]
You need to use the classloader that loaded the 1st MBean, e.g: | Object mybean = Class.forName("com.percussion.jmx.test.SimpleListener", true, this.getClass().getClassLoader()).newInstance(); | | server.registerMBean(mybean, "mydomain:name=myname"); | There is also the createMBean()

[JBoss-user] [Management, JMX/JBoss] - Re: dynamically create XMBeans?

2004-11-16 Thread ffrederick
Ok ... I finally get it. Chris is referring to using the constructor for an "XMBean", not the constructor for his xmbean class. To do this, you pass an instance of your mbean (subclass of ServiceMBeanSupport) as the resource to the XMBean construtor and a url to the xml descriptor file. View

[JBoss-user] [Installation & Configuration] - INFO main (Log4jLoggerPlugin.java:205) 2004-11-16 14:42:41,6

2004-11-16 Thread bekay
Hello, I have deployed my application in JBOss and uses the inbuilt tomcat. I have setup these installation working in some systems, but in one of the systems I am getting this error. I have a Servlet Listener to Start and listen on a Specific Port which is failing becuase of the error. This is

[JBoss-user] [Installation & Configuration] - deploying axis 1.2 client to jboss 3.2.3

2004-11-16 Thread acervi_01
I have used axis 1.2 to build a client library that accesses the mappoint.net web service. I've built a bean that uses this library to retrieve data from that web service. A jsp page running on a different server than jboss creates this bean and calls one of the methods. I've copied all of th

[JBoss-user] [HTTPD, Servlets & JSP] - Referencing deployed EJBs

2004-11-16 Thread duff
First off I'm just now getting my feet wet with JBoss and JSP developement. I have written a small web app that stores User information from a JSP page into a JavaBean. What I am wanting to do now is have the JavaBean communicate with already packaged and deployed EJBs. What do i need to do t

[JBoss-user] [Javassist user questions] - Javassist 3.0-rc-1 now available on Maven

2004-11-16 Thread hlship
FYI: I worked with the Maven folks to get Javassist 3-0-rc-1 uploaded to the Maven repository at http://www.ibiblio.org/maven. This will be useful to people who want to use the lateset Javassist with their Maven projects. View the original post : http://www.jboss.org/index.html?module=bb&op=vi

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

2004-11-16 Thread triathlon98
I am getting frequent deadlock exceptions. Though this doesn't actually cause problems on the client side, it actually slows things down a lot. Now I access all the data through a SLSB facade which then creates a SFSB session facade (which does validation checking), which accesses the entity be

[JBoss-user] [Beginners Corner] - Active classes (threads) in JBoss

2004-11-16 Thread AlexM
Hello, This is probably more a general J2EE question than JBoss, but anyway. I want to have a thread that polls the database periodically. This would be called an active class in the unified software development process. However, how can I ensure that only one instance of such a class exists in

[JBoss-user] [The Lizzard's corner] - Re: New Website Design

2004-11-16 Thread jbossroy
I tried to pressure our marketing department to use my glamour shots, but was quickly rejected and escorted out of the building ;-) -roy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855418#3855418 Reply to the post : http://www.jboss.org/index.html?module

[JBoss-user] [Security & JAAS/JBoss] - Custom handling with BASIC authentication

2004-11-16 Thread cglommen
This is actually spawning from a thread I started in JBossWS, but now it is more appropriate to be located in this forum. (original: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=56550). I still don't understand quite yet. I have three questions. 1. What documentation exists that exp

[JBoss-user] [Management, JMX/JBoss] - ClassLoader can not find a MBean class that sits in the same

2004-11-16 Thread vitaly1
Hi ! I have a SAR file with one service that loads up other MBeans from my own Xml config file. The trouble is that the classloader can not find a class that sits in the same sar where the JBoss service class is? ie: server.createMBean("com.percussion.jmx.test.SimpleListener",

[JBoss-user] [Installation & Configuration] - Re: JBoss 4: bug in SecurityAssociationValve?

2004-11-16 Thread edallez
oops again. It doesn't work with 3.2.7 either. My mistake. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855415#3855415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855415 --

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Fully Functional Tomcat

2004-11-16 Thread SJNewOrleans
The project I am currently working on, has a bunch of servlets running in a standalone Tomcat 4.1 container. My government contacts want me to add these servlets to another project where we are building from a developed web framework that uses JBoss 3.2.3 as its server. The agency who de

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Fully Functional Tomcat

2004-11-16 Thread janilsal
Why JBoss 3.2.3? If you are starting with JBoss, it is better to be on Jboss 3.2.6 (has embedded Tomcat 5.0.28) No major development is happening on TC 4.x anyway. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855413#3855413 Reply to the post : http://w

[JBoss-user] [Installation & Configuration] - Re: JBoss 4: bug in SecurityAssociationValve?

2004-11-16 Thread edallez
It didn't work with the general release of 4.0.0 either. And I had the same problem with 3.2.6. It does work, however, with 3.2.7. I have not tried 4.0.1 yet but I wonder if this is somehow related to the jdk1.5.0 problems in both releases (yes, I am using 1.5.0) View the original post : http:

[JBoss-user] [Beginners Corner] - Re: Get instance of logging service.

2004-11-16 Thread infectedrhythms
Or more specifically how can I access a particualr service (Jboss MBeans) from my own services. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855410#3855410 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=385541

[JBoss-user] [HTTPD, Servlets & JSP] - Fully Functional Tomcat

2004-11-16 Thread SJNewOrleans
Does JBoss 3.2.3 contain a fully functional tomcat 4.1? I.e. is the tomcat 4.1 which is embedded contain all the funcitonality as the standalone tomcat 4.1? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855408#3855408 Reply to the post : http://www.jboss.o

[JBoss-user] [Security & JAAS/JBoss] - 'Roles' in rolesQuery (login-config.xml)

2004-11-16 Thread Traxx
Hi, I use authentication by database. It works ! ;-) But I have a question, why we have to harcode 'Roles' for the roleGroup value ? And what is the "roleGroup" ? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855406#3855406 Reply to the post : http

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Sessions serialization

2004-11-16 Thread janilsal
Place it in a new file context.xml under the WEB-INF directory of your war. Give this a shot. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855405#3855405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855405

[JBoss-user] [Beginners Corner] - Re: Alternatives to Russian Doll?

2004-11-16 Thread danl_thompson
especially the part that descirbes the URL comparator ... The URLComparator can be used to specify a deployment ordering View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855404#3855404 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Beginners Corner] - Re: Alternatives to Russian Doll?

2004-11-16 Thread danl_thompson
this link seems to descirbe it pretty well... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855402#3855402 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855402 -

[JBoss-user] [EJB/JBoss] - threadlocal in jBoss

2004-11-16 Thread sorgnard
I plane to use ThreadLocal, to propagate some context information, related to the current user. Is there some limitation usage, even in the same JVM? ex : - Legal to use of thread local variable between Local EJB? - Legal to use of thread local between web component and local EJB? - Legal to u

[JBoss-user] [Installation & Configuration] - Re: Two webapps on different ports in one JBoss

2004-11-16 Thread SuperMario
I saw this site before. But I don't want to change the hostname or create viratual hosts with another name. I want to deploy my webapps on different ports (one on 80 and other on 81). Is this also possible with this "virtual hosts" description ?? Do you mean I have to set up 2 Connectors ?? To b

[JBoss-user] [Persistence & CMP/JBoss] - error while deploying titan.jar + jboss3.2.2

2004-11-16 Thread tenzing7777in
what is the problem with this implementation...using Jboss 3.2.2..i am testing the workbook examplesejbJbossworbook..but i am getting this error _ what is the solution?? _ 22:04:22,389 WARN [verifier]

[JBoss-user] [Management, JMX/JBoss] - StatisticsCollector

2004-11-16 Thread mcorey
I'm interested in using the Statistics Collector described at http://www.jboss.org/wiki/Wiki.jsp?page=StatisticsCollector, but I can't find the statscollector.jar file indicated in that Wiki entry... is it included in the JBoss distribution at all? Do I have to build it from CVS? Thanks, M Vi

[JBoss-user] [HTTPD, Servlets & JSP] - Sessions serialization

2004-11-16 Thread jde
Hello, I am trying to desactivate sessions serialization for a webapp in Tomcat (JBoss 4.0). I found how to do it in Tomcat standalone by creating a tomcat/conf/Catalina/localhost/myapp.xml : | | | | But I can't find how to do it in JBoss. I tried to put the same file in jboss/ser

[JBoss-user] [JCA/JBoss] - ClassCastException using Oracle 9i DataSource

2004-11-16 Thread nappinc
Hi, I'm getting what appears to be a class loader problem when using an Oracle data source in JBoss 4.0.0. When using direct connections, I don't get any errors. On other app servers, I don't get any errors. I have copied the Oracle JDBC driver into the shared "lib" directory, excluded it fro

[JBoss-user] [Installation & Configuration] - Re: Two webapps on different ports in one JBoss

2004-11-16 Thread janilsal
http://www.jboss.org/wiki/Wiki.jsp?page=VirtualHosts View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855394#3855394 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855394

[JBoss-user] [Beginners Corner] - Re: Alternatives to Russian Doll?

2004-11-16 Thread danl_thompson
Or for that matter, how to handle sars that depend on other sars being loadded first? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855393#3855393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855393 --

[JBoss-user] [Installation & Configuration] - Re: Deploying minimal configuration.

2004-11-16 Thread infectedrhythms
Well I want to create a minimal deployment package smallest in size where I can deploy my own custom services. I want to get it as mall as possible and add as needed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855391#3855391 Reply to the post : http://w

[JBoss-user] [Installation & Configuration] - Transaction Timeout

2004-11-16 Thread alessandro_rizzi
I have a very bad problem. My EJB (session-bean, CMT) performs an UPDATE on a DBMS (Oracle or SQL Server), and after that it makes some other long operations, without using the DBMS. My transaction-timeout is set to 30 seconds (in jboss-service.xml), and the operations takes more than this (let'

[JBoss-user] [Management, JMX/JBoss] - Re: remote management of JBoss from a universal client

2004-11-16 Thread janilsal
Be Happy. Here is sample code thats shows how to connect to RMIAdaptor. This code is in JBoss Testsuite. | package org.jboss.test; | | | import javax.naming.*; | import javax.management.*; | import java.util.*; | import org.jboss.jmx.adaptor.rmi.RMIAdaptor; | import org.apache

[JBoss-user] [Installation & Configuration] - Two webapps on different ports in one JBoss

2004-11-16 Thread SuperMario
Hi, We have two webapps named customer.war and admin.war At the moment both webapps run on Port 80 and is available to the WWW. Now, we had a discussion about the security. The conclusion was that we want to move the admin.war to a different Port (e.g. 81). After this action we could administrat

[JBoss-user] [Beginners Corner] - Alternatives to Russian Doll?

2004-11-16 Thread danl_thompson
Is there any way to control the order of class loading, other than the russian doll approach of putting all the required jars in the WAR?I'm trying to pull our war files out of our ear files in order to deploy them separately. however the wars depend on classes in the ears. dt View the or

[JBoss-user] [Management, JMX/JBoss] - Re: remote management of JBoss from a universal client

2004-11-16 Thread [EMAIL PROTECTED]
You must use jnp to reach the JBoss JNDI provider View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855385#3855385 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855385 ---

[JBoss-user] [Management, JMX/JBoss] - Re: Discovering user deployed applications in JBoss

2004-11-16 Thread [EMAIL PROTECTED]
This has been corrected in 3.2.7RC1 and 4.0.1RC1, DeploymentInfo is now Serializable View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855384#3855384 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855384 ---

[JBoss-user] [Management, JMX/JBoss] - Re: remote management of JBoss from a universal client

2004-11-16 Thread swapna56782004
should I use jnp or can I use sun's rmi context factory for lookup. when i try using sun's rmi and lookup for jmx/rmi/RMIAdaptor I get a noSuchObjectException. Please advice View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855381#3855381 Reply to the post : h

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-11-16 Thread kedarlele
when I execute the following in the browser it runs perfectly ok http://localhost:8081/axis/servlet/AxisServlet And now... Some Services Version (wsdl) getVersion Administration (wsdl) AdminService But I get error/blank page with 500 Internal Error when I execute the following in the browse

[JBoss-user] All, default, minimal configurations...

2004-11-16 Thread Michael Burbidge
Where can I read what the differences are between these configurations? --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making i

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-11-16 Thread kedarlele
Dear Vishal Hi Vishal, I am on chapter 9 of the tutorial. I am using Eclipse3.0, Lomboz 3.0, Jboss-4.0.0 I am using port 8081 instaed of 8080 Im getting the following error Can u pls. help me opn the same. 13:46:53,442 ERROR [Engine] StandardWrapperValve[AxisServlet]: Servlet.service() for s

[JBoss-user] [Management, JMX/JBoss] - Discovering user deployed applications in JBoss

2004-11-16 Thread SoDoM
Hi there. I would like to know if there is an easy way to discover programatically which user applications are currently deployed in JBoss. I've tried to invoke the 'listDeployed()' method of MainDeployer MBean, using an RMIAdaptor but this method can't be called remotely since the collection o

[JBoss-user] [EJB/JBoss] - Re: Removing stateless session beans

2004-11-16 Thread fredatwork
Thanks to Darran for his tip. I understand the life cycle of a stateless session bean better and that the create() method (invoked on the home of a stateless session bean) does not call the ejbCreate method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=385

[JBoss-user] [Installation & Configuration] - Re: Deploying minimal configuration.

2004-11-16 Thread darranl
Did I remove something I shouldn't have? - That depends on what you are trying to do. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855371#3855371 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855371 --

[JBoss-user] [Beginners Corner] - Get instance of logging service.

2004-11-16 Thread infectedrhythms
How would I go about to get an instance of the logger thats is configured as a service in Jboss? Am writting my own Service and would like to use the logging built in to Jboss Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855370#3855370 Reply to the

[JBoss-user] [Installation & Configuration] - Re: Deploying minimal configuration.

2004-11-16 Thread infectedrhythms
Opps it was this section remind me not to work late! :P View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855369#3855369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855369 -

[JBoss-user] [Beginners Corner] - Empty Resultset from Firebird in Tomcat Servlet

2004-11-16 Thread unoengborg
I try to set up a servlet to connect to a firebird database. It seams that I can lookup the Datasource and get a Connection. I then create a Statement and do executeQuery. I get back a ResulSset. The problem is that the ResultSet is empty. Even though it shouldn't be. I use the Firebird-ds.

[JBoss-user] [EJB/JBoss] - InitialContext(JNDI) not found

2004-11-16 Thread adicko
I coded an application, which works perfectly in eclipse. But when I want to start this over an *.bat, the InitialContext Method doesn't work - it seems it gets stuck. private MyLocator() throws MyLocatorException |{ | try | { | Properties jndiProps = new Pr

[JBoss-user] [Management, JMX/JBoss] - Re: remote management of JBoss from a universal client

2004-11-16 Thread [EMAIL PROTECTED]
RMIAdaptor is registered under: jmx/rmi/RMIAdaptor You can cast to to MBeanServerConnection and do your stuff. JBoss is not fully JSR160 compliant (yet). You'll need at least some of the jboss classes in your classpath. Another option is to allow dynamic classloading. JBoss serves classes from p

[JBoss-user] [Installation & Configuration] - Deploying minimal configuration.

2004-11-16 Thread infectedrhythms
I asked this question in another topic... I got one reply, but maybe it wasn't the right section anyaways... Am looking to deploy a minimal Jboss config for my production machines... So far I have gotten rid of the following folders... /client /doc /server/all /server/default /server/standard

[JBoss-user] [EJB/JBoss] - java.sql.Date problem

2004-11-16 Thread mga
Hi, I'm using jboss 3.2.6 with MySql and i have the folowing problem: I have a table with a field of type Date which is mapped to a java.sql.Date. If i try to compare this field against another ( source.getSentDate().equals(destination.getSentDate()) ) mostly i get the right result but after a w

[JBoss-user] [Installation & Configuration] - Re: uil2.SocketManager -> exiting on unexpected error

2004-11-16 Thread jschanz
Hi, thanks for the answer. We don't use any self-written code on server side. I have only created one new durable topic: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Several clients are sending messa

[JBoss-user] [JCA/JBoss] - Re: Propertes get not set on ManagedConnectionFactory

2004-11-16 Thread jgra
Hello I'm currently using JBoss 3.2.6 and this problem still exist. Any hint when it will be fixed? Regards Janusz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855361#3855361 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Installation & Configuration] - Re: Is the JBoss installation complete?

2004-11-16 Thread ltexier
Try to browse thru the Getting started book a few times and then get back to your migration project. It will greatly improve your experience with JBossAS. http://www.jboss.org/docs/index#as Have fun! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855359#3855

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 loadtesting and threads

2004-11-16 Thread nzmalik
How about closing the session and creating a new one periodically? Just a guess on my end, no experience with it, but it might help if it doesn't add too much overhead. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855358#3855358 Reply to the post : http:

[JBoss-user] [Installation & Configuration] - Re: Is the JBoss installation complete?

2004-11-16 Thread kalyan120
The downloaded version of 3.2.5 works pretty well out of the box. So, you need not feel that it's incomplete. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855357#3855357 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [Installation & Configuration] - Re: uil2.SocketManager -> exiting on unexpected error

2004-11-16 Thread kalyan120
What do you mean by reconnecting to a queue? Also, this is a problem with the server side JMS code, that you would have written. This could be a problem because of the proliferation of queue connections or queue sessions. If you are doing something like below, for every message you send back,

[JBoss-user] [HTTPD, Servlets & JSP] - Re: mod_jk, mod_jk2 or mod_jk1.2 ?

2004-11-16 Thread lyc1
mod_proxy works well as we don't need mod_jk features such as load-balancing with sticky sessions and is easier to configure. But it is still hard for me to consider mod_jk1 et 2 as deprecated modules without more information. Thanks Damien View the original post : http://www.jboss.org/index

[JBoss-user] [Beginners Corner] - petstore for EJB 3.0

2004-11-16 Thread Martin0
Hi, Now that JBoss 4.0 is out, is there a date for the publication of petstore that Bill Burke et al did for JavaOne? http://jboss.org/jbossBlog/blog/bburke/?permalink=EJB3%2C+Petstore%2C+and+JavaOne.html Thanks Martin View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Installation & Configuration] - Re: Is the JBoss installation complete?

2004-11-16 Thread whisky
Try to download jboss-3.2.6.zip from: http://www.jboss.org/downloads/index This is the one which I downloaded and it works ok Regards, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855353#3855353 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Consumers stop listening after a period of time.

2004-11-16 Thread pjdodds
I've recenting moved a UAT environment up to JBoss 3.2.5 using JDBC3 PM and have the same problem, was solution did you employ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855352#3855352 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Beginners Corner] - Confused by JNDI and Env

2004-11-16 Thread Musashi
Hi there! I'm deploying a WAR "created for" Tomcat 4.1.29 on JBOSS 4.0.0. I want to set up JBOSS, so the following code will work: private static String getEnviroment(String variableName) { String value=""; try { Context ctx = new InitialContext(); if (ctx == null) t

[JBoss-user] [Management, JMX/JBoss] - remote management of JBoss from a universal client

2004-11-16 Thread swapna56782004
I am Developing a universal client to manage multiple JMX enabled applications remotely. This prevents me from having any of the application specific jar files in my classpath. My question is.. 1. Is it possible to manage JBoss in such a way. - In Jboss3.2.6 I see RMIAdaptorExt interface

[JBoss-user] [Security & JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied

2004-11-16 Thread infectedrhythms
Is there a way I can debug the module or do I have to recompile it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855348#3855348 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855348 -

[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec

2004-11-16 Thread cool_xiong
I get it, thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855345#3855345 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855345 --- This SF.Net em

[JBoss-user] [Installation & Configuration] - Is the JBoss installation complete?

2004-11-16 Thread dschneller
Hi all, I have pair of beginner questions. 1. I've downloaded the JBoss 3.2.5 version. But it appears to me incompletely. e.g. jboss-jee.jar and some other files also. Do I have to download the full version from Sun? I try to migrate my WebShere App to JBoss and encounters errors and problem

[JBoss-user] [Messaging, JMS & JBossMQ] - Urgent : JMS Configuration Help

2004-11-16 Thread arvind_pv
Hi all, I'm getting this error i.e. ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandler javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory not bound. And in my application I'm using Queue MDB and I have followed this procedure to configure

[JBoss-user] [JCA/JBoss] - Re: (Oracle XA) Can't access

2004-11-16 Thread [EMAIL PROTECTED]
Refer to this url http://mcpmag.com/features/article.asp?EditorialsID=179 hope this helps you Regards, Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855341#3855341 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

  1   2   >