[JBoss-user] [Messaging, JMS JBossMQ] - JMS Error

2005-04-06 Thread jk_1011
Hi all, I am getting the following error while starting jboss and eventually my JMS service not working correctly.Can any one please help me in finding me a solution? Thanks in advance Jayakrishnan [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could

[JBoss-user] [Beginners Corner] - JMS provider failure detected:

2005-04-06 Thread sriramp_here
Hello, I dont understand why this error is happening. I have a oracle database with JBOSS. I also have a MDB im my application. The application is connecting to the database perfectly. I guess while connecting to JMS I am getting an error. But when I am trying to look up a connection factory I

[JBoss-user] [Messaging, JMS JBossMQ] - JMS provider failure detected:

2005-04-06 Thread sriramp_here
Hello, I dont understand why this error is happening. I have a oracle database with JBOSS. I also have a MDB im my application. The application is connecting to the database perfectly. I guess while connecting to JMS I am getting an error. But when I am trying to look up a connection factory I

[JBoss-user] [Clustering/JBoss] - New to Clustering

2005-04-06 Thread mkgtvm
I have certain EJB Jars deployed in my JBoss 4.0.2 server. Now I have installed another server of same configuration. Can anyone please help me in configuring the clustered environment on JBoss 4.0.2 View the original post :

[JBoss-user] [Messaging, JMS JBossMQ] - javax.jms.IllegalStateException: Method not allowed when cal

2005-04-06 Thread azarny
Hello Everyone, Enviroment jboss 4.0.1 on windows xp. When i call QueueReceiver.setMessageListener i get next exception Whats wrong ? Or can anybody point me to the right way ? | javax.jms.IllegalStateException: Method not allowed | at

[JBoss-user] [Management, JMX/JBoss] - Re: Memory leak in Linux

2005-04-06 Thread [EMAIL PROTECTED]
Why not calling server.remove() after each iteration, or just caching the server reference??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872826#3872826 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872826

[JBoss-user] [J2EE Design Patterns] - Error with Remote conection

2005-04-06 Thread Newj2ee
The project have implements local and remote Interfaces, and I use the remoteportable object to caught the remotehome bean. I use the ip at the server, and on the lan work good. The error : Time out... It's posible that the server or router denied the conection?? View the original post :

[JBoss-user] [Installation Configuration] - Application properties outside the ear package in 4.0

2005-04-06 Thread mikesg
Sorry if this is a frequently asked question, but my search withih the forums and google did not return results to help me completely answer the question myself. I am upgrading from JBoss 3.2 to 4.0 and I am facing some difficulties with property files. We used to deploy our applications using

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-06 Thread lac_raz
OK , I guess I can generate some workaround Thanks :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872829#3872829 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872829

[JBoss-user] [Beginners Corner] - Setting JBOSS Classpath

2005-04-06 Thread subhadeep_ghosh
Hi , I have a set of jars , which I want to set in the Application server classpath in a Particular Order. Is there any way I can do that.? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872830#3872830 Reply to the post :

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-06 Thread [EMAIL PROTECTED]
Yes, I think you could easily create a subclass and fetch the data source from there View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872831#3872831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872831

[JBoss-user] [HTTPD, Servlets JSP] - JSP compile problem on 4.0.2 RC1

2005-04-06 Thread adrianwilford
Hi All, I am using jboss-4.0.2RC1 (uses tomcat 5.5.8), and when I deploy my app and try to access my first page, I get the following JSP compile error (this worked on 4.0.0): org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: The method

[JBoss-user] [HTTPD, Servlets JSP] - Re: JSP compile problem on 4.0.2 RC1

2005-04-06 Thread adrianwilford
found the problem - included an old jar file hidden away down there in the depths of my ant script :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872833#3872833 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872833

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Automatic topic/queue creation

2005-04-06 Thread apinto
Scott, Adrian, thanks for que quick reply! As JBAS-1645 already covers the problem pretty well, I wont create a new bug report as suggested by Scott. :-) Is there any workaround we can take in order to prevent this situation in JBoss 3.2.6? We have that version in production environment and

[JBoss-user] [JBossWS] - Problem accessing a web service

2005-04-06 Thread jodoe
I'm using JBoss4. When I try to acces my web service, I receive the following exception: 12:03:33,796 ERROR [ServiceEndpointInterceptor] Error from service endpoint, processing fault handler chain java.lang.NullPointerException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

[JBoss-user] [Beginners Corner] - Remote Debugging using Jbuilder X and Jboss 3.2.x

2005-04-06 Thread thomas908
I want to do remote debugging using Jbuilder X and Jboss 3.2.x The Jboss server is installed on a Linux Machine (Red Hat 9) and Jbuilder is on a Windows 2000 machine. To do remote debugging I need to start the Jboss server on the linux machine in debug mode, for which I need to make some

[JBoss-user] [Clustering/JBoss] - Which Instance to use ?

2005-04-06 Thread sanjuthomas
Hi all, To implement fail over using Apache , mod_jk and JBoss 4, which instance I should use ? is it necessory to use All instance to implement fail over using mod_jk and apache ?. We are not planning to go for load balancing. we just need fail over. Please any one help me. Thanx in

[JBoss-user] [Clustering/JBoss] - mod_jk2 with Apache 2 and JBoss 4

2005-04-06 Thread sanjuthomas
Hi all, We are planning to implement fail over using mod_jk module. The versions we are planning is mod_jk2 and Apache2 and JBoss 4. We saw in some article that mod_jk1.2 is recomended. Can any one tell the best configuration to implement fail over using JBoss 4. Thanx in advance, Sanju.

[JBoss-user] [EJB/JBoss] - ParseException : expecting one of DATETIME_VALUED_PARAMETER

2005-04-06 Thread catherinelo
I am using JBoss 4.0.1sp1 with xDoclet. I defined the following finder statement in UsageSession Entity Bean where timeStarted is DATETIME in mySQL, and I need to get the latest timeStarted from database (mySQL): * @ejb.finder view-type=local description=findSessionByStationAndCard *

[JBoss-user] [JBossWS] - Web services in clustered environment

2005-04-06 Thread jukvaa
Hello. We have a cluster of 2 jboss servers (4.0.1sp1) with apache + mod_jk load balancer as described in the Jboss clustering documentation. When we deploy a web service to these servers, WSDL gets address of the jboss server. I would like it to have address of the load balancer, so that we

[JBoss-user] [Installation Configuration] - How to read the server configuration inside a program

2005-04-06 Thread mehlwurm1
I'm running JBOSS 4.0.2RC1 in a Linux environment, with several notes. I want to read the server-configuration from a program inside the server in order to get the RMIPort of all instances. The port is used to connect with the RMIAdaptor. I'm searching for an Api to talk to the server, that

[JBoss-user] [Clustering/JBoss] - Re: mod_jk2 with Apache 2 and JBoss 4

2005-04-06 Thread davewebb
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss I set mine up with: JBoss 4.0.1SP1 Httpd 2.0.53 mod_jk 1.2 Everything works great! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872843#3872843 Reply to the post :

[JBoss-user] [Clustering/JBoss] - Re: mod_jk2 with Apache 2 and JBoss 4

2005-04-06 Thread davewebb
I found this note from JBoss as well to support the reason for using 1.2 only: anonymous wrote : Using mod_jk with JBoss | WARNING: Apache Tomcat and JBoss recommend using mod_jk1.2.x connectors only. Both mod_jk and mod_jk2 are deprecated, unsupported and no further developments are going

[JBoss-user] [JBossWS] - Re: Web services in clustered environment

2005-04-06 Thread md5georg
Hello, change the attribute WebServiceHost in the file JBOSS_HOME/server/your server/deploy/jboss-ws4ee.sar/META-INF/jboss-service. to your proxy host name. /Georg View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872845#3872845 Reply to the post :

[JBoss-user] [Beginners Corner] - java.net.SocketException

2005-04-06 Thread jboss_eval
HI, i'm trying to deploy a EntityBean CMP on jBoss4.0.1, well my bean (.jar) file was successfully deployed, when i run the client(on the console) i get the following error : javax.naming.CommunicationException: Software caused connection abort: socket write error [Root exception is

[JBoss-user] [Clustering/JBoss] - Re: mod_jk2 with Apache 2 and JBoss 4

2005-04-06 Thread sanjuthomas
Thank You Dav. Sanju View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872847#3872847 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872847 --- SF email is sponsored by -

[JBoss-user] [Clustering/JBoss] - Re: mod_jk2 with Apache 2 and JBoss 4

2005-04-06 Thread sanjuthomas
Hi Dave, I read your article, but I did not find true element in the file which you are talking about. Please give your comment. Edit JBOSS_HOME/server/all/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml (replace /all with your own server name) Locate the element with a name of

[JBoss-user] [Clustering/JBoss] - Re: mod_jk2 with Apache 2 and JBoss 4

2005-04-06 Thread sanjuthomas
Hi Dave, Sorry, I mean UseJK element!. I did not find that element the file. Thanx Sanju View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872850#3872850 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872850

[JBoss-user] [Beginners Corner] - how to deploy my application

2005-04-06 Thread ritusharma07
i have just installed jboss 4.0 and i have tomcat 5.0 version kindly tell me is it necessary to install ant software alsoand how to deploy my application in jboss whether to deploy it in jmx_console or webconsole??? i am really an amateur tring hard to get it!! kindly anyone help me out !!!

[JBoss-user] [Beginners Corner] - how to deploy my application

2005-04-06 Thread ritusharma07
i have just installed jboss 4.0 and i have tomcat 5.0 version kindly tell me is it necessary to install ant software alsoand how to deploy my application in jboss whether to deploy it in jmx_console or webconsole??? i am really an amateur tring hard to get it!! kindly anyone help me out !!!

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate integration and CachedConnectionManager

2005-04-06 Thread paulkuit
Im probably missing something very important, but I understood while using HibernateContext.getSesion(String jndi) would give me a valid Session for the current transaction, and JBoss would take care of all (dis)connecting of the Session and transaction management. But when I remove the

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate integration and CachedConnectionManager

2005-04-06 Thread paulkuit
Sorry, was removed some HTML from my previous reply; When I change the true option in the JCA service Should be; SpecCompliant - true in jbossjca-service.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872854#3872854 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: how to deploy my application

2005-04-06 Thread vashistvishal
First of all u seemed to be having too many doubts and seems to be lost in somewhere. You have to provide more details what u intend to do. As far as deploying an application in JBoss is considered just need J2sdk that is the only S/W you need. JBoss 4.0 needs J2sdk1.4.2 = and it has an

[JBoss-user] [Clustering/JBoss] - Re: mod_jk2 with Apache 2 and JBoss 4

2005-04-06 Thread davewebb
I promise its there in 4.0.1SP1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872856#3872856 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872856 --- SF email is

[JBoss-user] [Beginners Corner] - junit.awtui.TestRunner- classnotfound error

2005-04-06 Thread mukti
Hello, I have written a junit testCase to test EJB. I am calling the testcase from a jsp. My problem is i get the awt window but it says class not found.can someone help me with this problem. i have included the junit.jar in my classpath. below is the code for my jsp and testcase. jsp [EMAIL

[JBoss-user] [JBossWS] - Does anybody know...

2005-04-06 Thread singular_droid
Does anybody know the extension point in which I can compress\decompress SOAP messages of my EJB-based rpc/literal webservice? I've tried a lot but I don't know where to put the compression. First I've try to extend GenericHandler and configure if trough webservices.xml. It didn't work because

[JBoss-user] [Messaging, JMS JBossMQ] - Re: javax.jms.IllegalStateException: Method not allowed when

2005-04-06 Thread nohwal
Try invoking connection.start() before setting Message Listener. This might help. Thanks, Deepak. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872860#3872860 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872860

[JBoss-user] [Clustering/JBoss] - Re: mod_jk2 with Apache 2 and JBoss 4

2005-04-06 Thread sanjuthomas
Soory Dave, I was looking in JBoss 4.0 RC, Let me download the 4.0.1SP1 With Thanx, Sanju View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872863#3872863 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872863

[JBoss-user] [JBossCache] - Re: I cant deploy XML file

2005-04-06 Thread lehphyro
Okay, I got it deployed. Now I cant access my cache using JNDI, my config is: jboss:service=invoker,type=jrmp jboss.cache:service=TreeCache cache/cacheFiliados org.jboss.cache.TreeCacheMBean org.jboss.proxy.ClientMethodInterceptor

[JBoss-user] [Installation Configuration] - Re: Jboss 3.2.2 [Wonderland] not running in jdk1.5

2005-04-06 Thread netsandro
Hi Danrall, In the below item on the FAQ on wiki we have: | Which JBoss version with what JDK? | | JBoss version series 3.2.x 4.0.x 5.0.x (HEAD) | compiles with JDK version 1.3/1.4 1.4/5.0 1.4/5.0 | runs under JDK version

[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss 4.0.1 final - I get

2005-04-06 Thread paulkuit
Hi Scott, Sorry to bother. Closing the connection (of course) resolves the issue, but did I understand wrong that it is not nessecary to close the session when it is obtained with HibernateContext.getSesssion() in a CMT environment? View the original post :

[JBoss-user] [Installation Configuration] - Re: Removing hibernate2.0 in jboss 4.0.1

2005-04-06 Thread netsandro
Hey samfra, Where is your post ? How I do that ? Install/Deploy Hibernate 3 and remove Hibernate 2 ? How I do this ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872868#3872868 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: Jboss 3.2.2 [Wonderland] not running in jdk1.5

2005-04-06 Thread darranl
I think the table that you have found should possibly be updated to be a little clearer. When the table specifies 3.2.x it means the latest version in the 3.2 series not all versions in the 3.2 series. View the original post :

[JBoss-user] [EJB/JBoss] - Re: JNDI available outside tje server?

2005-04-06 Thread netsandro
Have u a firewall ? Verify if it leave u access u jndi on 1099. Another important thing, the naming starting with java:comp/env is not accessible out of Container. Use another name like jdbc/MyDataSource, ejb/MyEjb in spite of java:comp/env/ejb/MyEjb, ... View the original post :

[JBoss-user] [EJB/JBoss] - Re: JNDI available outside tje server?

2005-04-06 Thread netsandro
... but first, verify on your log to see any Exception and if the naming service is up. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872873#3872873 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872873

[JBoss-user] [EJB/JBoss] - Re: Entity bean failing as DataSource not deployed before be

2005-04-06 Thread netsandro
Hi Gareth, As you use EJB 3, you must be using JBoss 4 or above. It happens that on JBoss 4 (of another anterior version), the classloading of JBoss have changed. Now, it seems that it load the resources in alphabetic order. Try to change the name of u Datasource deployment to something like

[JBoss-user] [Installation Configuration] - Replacing 3rd party jar with jar built from source code thro

2005-04-06 Thread vijayk
Hello, This may seem like a strange question but does classloading in JBoss have any thing to do with how a jar is built? I ask this because I have an application (ear file) in $JBOSS_HOME/server/all/deploy that works well when it sees the jars it needs under $JBOSS_HOME/server/all/lib

[JBoss-user] [JBossCache] - Re: I cant deploy XML file

2005-04-06 Thread lehphyro
It worked! I used: TreeCacheMBean cache = (TreeCacheMBean)context.lookup(cache/cacheFiliados); Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872877#3872877 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872877

[JBoss-user] [Clustering/JBoss] - Shared JNDI between cluster nodes

2005-04-06 Thread roberto
I have 2 nodes in a cluster (JBOSS_A and JBOSS_B) and a load balance machine using apache 2.0.x (APACHE). All works fine, but i have a little problem about shared jndi. I try to explain it better. JBOSS_A and JBOSS_B deploy the same EAR (i try also the hot deploy feature). in my ear, i have a

[JBoss-user] [JBossCache] - Problem with CacheLoader getChildrenNames

2005-04-06 Thread akropp
I am using a custom CacheLoader to back a TreeCache with a filesystem-based cache -- directories correspond to parent nodes, and files correspond to leaf nodes. There is a problem with how the CacheLoader is invoked to fetch the children. Let's say my file cache has, and my TreeCache is

[JBoss-user] [EJB/JBoss] - java.lang.IllegalStateException: Failed to find method for h

2005-04-06 Thread balteo
Hello, I am having problems with jboss. I get the following error: | 0.1 - Trying to instantiate a WebApp Trusted Entity Session with login:admin pass: invalid | | java.lang.IllegalStateException: Failed to find method for hash:-4497435275304308524 | | at

[JBoss-user] [JBossCache] - Old version of JBoss cant handle JBossCache

2005-04-06 Thread lehphyro
I cant deploy my cache config using JNDI with this: true as attribute of org.jboss.invocation.jrmp.server.JRMPProxyFactory the error is: No Attribute found with name: InvokerTargetMethod So, how do I deploy my cache? I use JBoss 3.0.8. Thanks View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Am I able to relocate datasource-mapping/ ?

2005-04-06 Thread tbech
You reported similar topic as me in 'http://www.jboss.org/index.html?module=bbop=viewtopict=62276' My situation is more annoying as I have to modify Java files as well to switch the DB. It is my first BIG dissapointment after a year of using JBoss. Unfortunately I cannot help you, I don't see

[JBoss-user] [Clustering/JBoss] - Re: Shared JNDI between cluster nodes

2005-04-06 Thread roberto
i forgot... i'm using JBoss AS 4.01sp1 on window XP environment View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872889#3872889 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872889

[JBoss-user] [JCA/JBoss] - DATASOURCE AND JNDI

2005-04-06 Thread salinaale
Ciao, sorry if this may be a stupid question... i'm tring to porting an application from iona A.S. to jboss and i 've this problem: 1) a Session Bean retrive a sqlconnection via jndi ... Context ctx = ContextFactory.getInitialContextLocal(); ds =

[JBoss-user] [JBossCache] - Re: Problem with CacheLoader getChildrenNames

2005-04-06 Thread [EMAIL PROTECTED]
Can you create a JIRA issue (http://jira.jboss.com/jira/browse/JBCACHE), and attach a unit test ? Actually, add your unit test to CacheLoaderTestsBase. Why didn't you use FileCacheLoader (the mapping is the same as the one you describe above) ? Bela View the original post :

[JBoss-user] [JBossCache] - Re: Problem with CacheLoader getChildrenNames

2005-04-06 Thread [EMAIL PROTECTED]
never mind, I'll do it View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872895#3872895 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872895 --- SF email is sponsored by -

[JBoss-user] [Persistence CMP/JBoss] - Re: Am I able to relocate datasource-mapping/ ?

2005-04-06 Thread cvandyck
From what I've read, in the 4.x series there is a way to abstract this information out. Unfortunately, I can't expect some of our customers to accept a major app server version change for this. :( Any ideas anyone? Could I write an MBean that set some property somehow? View the original

[JBoss-user] [JBossCache] - Re: Problem with CacheLoader getChildrenNames

2005-04-06 Thread [EMAIL PROTECTED]
I added a test (see below), and it passes. Take a look at let me know what doesn't work. public void testGetChildren5() { try { cache.put(/a/1, null); cache.put(/a/2, null); cache.put(/a/3, null); System.out.println(cache is +

[JBoss-user] [JBossCache] - Re: Externalizeable versus Serializeable For Cache Loaders

2005-04-06 Thread jiwils
[EMAIL PROTECTED] wrote : sync or async repl ? Can you describe this a bit more in detail ? I will do my best... My application, for testing purposes, consists of a single client, an application instance, and a cache loader instance. The client talks to the application instance that fronts

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate 3.0 and the 4.0.1 HARDeployer

2005-04-06 Thread jmorgalis
That was my original fix, but IT DID NOT WORK. I had a jboss-hibernate.jar with the new package structure, but it was not sufficient, because it never picked up my HAR file. I do not know why. That is why I went with this SAR structure. I think that the HARDeployer is a 2.1-specific

[JBoss-user] [Installation Configuration] - Re: Removing hibernate2.0 in jboss 4.0.1

2005-04-06 Thread samfra
http://www.jboss.com/index.html?module=bbop=viewtopict=62303 is that what you need ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872902#3872902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872902

[JBoss-user] [EJB/JBoss] - Jboss and Websphere problem !

2005-04-06 Thread warx_sg
Hi all, i have to give my EJB developed with JBoss to a person who has to deploy them on WebSphere 6.0. Well, in my Session EJB i got a connection from a datasource; with JBoss i use the prefix : java:/[datasource name]. On Websphere it seems that i have to use a different prefix to get a

[JBoss-user] [JBossCache] - Use of

2005-04-06 Thread jiwils
My interpretation of the CacheLoaderFetchPersistentState attribute is that when a cache instance is joins a cluster of extant caches, the cache loader will fetch the in memory state of the cache and then persist it. Of course this only happens if the cache loader is unshared (and mine is).

[JBoss-user] [HTTPD, Servlets JSP] - ClassNotFoundExceptions

2005-04-06 Thread vijayk
Hello, I have a EAR which contains a WAR and for some reason I get ClassNotFoundExceptions for classes in WEB-INF/classes. I do not have scoped classloading. Heres a snapshot of log from org.jboss.web category: | [131737,ReplyHeaderFilter,main] Adding header name: X-Powered-By='Servlet

[JBoss-user] [Installation Configuration] - JBoss Deployment order within ear

2005-04-06 Thread mentiro
Looking at MainDeployer, there does not seem to be any way to override the deployment sorter within an EAR file. What I want to do is use a deployment sorter similar to the prefix sorter that can be configured for the deployment scanner. I need to deploy a war file within my ear before

[JBoss-user] [Installation Configuration] - NoRouteToHostException when shutting down JBoss

2005-04-06 Thread dleangen
Hello! I am getting the following when shutting down JBoss: java.net.NoRouteToHostException: No route to host Any ideas why this would happen? Full stack trace from log: 02:38:16,607 INFO [Http11Protocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080 | 02:38:19,610 ERROR [CoyoteConnector]

[JBoss-user] [EJB/JBoss] - Re: How to mark SLSB as unavailable?

2005-04-06 Thread anguyen
Well, it looks like I found a solution to my problem. Problem: I have a stateless session EJB that throws a CreateException in ejbCreate(). In a clustered environment, I believe this should cause the client proxy to fail-over to another node. The current behavior in JBoss 3.2.6 is to throw the

[JBoss-user] [Security JAAS/JBoss] - ClientLoginModule not passing credentials when multi-threade

2005-04-06 Thread iastor
Hey all, I have 2 deployables each with there own security domain: a war which uses form based authentication and authenticates in the myWeb security domain, and an ear which authenticates in the myEjb security domain. Both are deployed in the same JBoss jvm (for testing purposes - for

[JBoss-user] [HTTPD, Servlets JSP] - getting a 404

2005-04-06 Thread jbosss
Hi, We are using JBoss 3.2.1 Everything is fine and runs good, but after some time, we start getting 404 for all the jsps. Is there some problem with the class loading? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872919#3872919 Reply to the post :

[JBoss-user] [JBossCache] - Help please! Im done...

2005-04-06 Thread lehphyro
JBoss Cache dont works on JBoss, this is a fact. I just want configure my cache! I just write: cache = new TreeCache(); PropertyConfigurator config = new PropertyConfigurator(); config.configure(cache, C:\\cache-service.xml); cache.createService();

[JBoss-user] [Clustering/JBoss] - Programatically removing a node from a cluster

2005-04-06 Thread sidazad
Hi, Is it possible to programatically remove a node from a cluster, if it's Address is known? If so, can someone point me to the API? Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872922#3872922 Reply to the post :

[JBoss-user] [JBossCache] - Re: Problem with CacheLoader getChildrenNames

2005-04-06 Thread [EMAIL PROTECTED]
Can you create a simple subclass of CacheLoaderTestsBase (see FileCacheLoaderTest as example) and see whether your cache loader impl passes all tests, and especially testGetChildren5() ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872923#3872923 Reply to

[JBoss-user] [JBossCache] - Re: Old version of JBoss cant handle JBossCache

2005-04-06 Thread [EMAIL PROTECTED]
JRMPProxyFactory doesn't support that attr yet. You will need to backport that attr from one of the more recent versions. Or bind TreeCache into JNDI using your own mechanism. Or use the MBean lookup described in the docu View the original post :

[JBoss-user] [Installation Configuration] - Re: JMS - Underlying database failover. Can HAJMS do this?

2005-04-06 Thread seanboltman
So Adrian, in all the FAQs I looked at to solve this problem, I saw zilch. Perhaps in your most cavalier form, you can post here a link to the FAQ you suggest answers my question clearly. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872925#3872925 Reply to

[JBoss-user] [JBossCache] - Re: Problem with CacheLoader getChildrenNames

2005-04-06 Thread akropp
The problem with this test is that you are actively putting the child nodes into the cache. My issue arises when you are relying on the CacheLoader to provide the children. I will try to put together a simple test case tonight when I get home from work. As far as why I am not using the

[JBoss-user] [HTTPD, Servlets JSP] - user directories

2005-04-06 Thread bap840
Is there a standard way to do user directories. I am working on a web application that will allow users to upload files and stuff like that... into their own directories they will be viewing these files using a url like this: site.com/userfiles/username/user-created-file.html

[JBoss-user] [Messaging, JMS JBossMQ] - Re: There is no database failover capability in JMS Persiste

2005-04-06 Thread seanboltman
Thats great to hear... Now if this suggestion had only posted sooner than 12 days later then the original questions regarding this topic of JMS failover... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872928#3872928 Reply to the post :

[JBoss-user] [JBossCache] - Re: Use of

2005-04-06 Thread [EMAIL PROTECTED]
No, CacheLoaderFetchPersistentState fetches the entire 'persistent' state (e.g. the contents of a table, or filesystem dir) and inserts it into the local cache loader View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872929#3872929 Reply to the post :

[JBoss-user] [Clustering/JBoss] - Re: Programatically removing a node from a cluster

2005-04-06 Thread [EMAIL PROTECTED]
Simply call stop() on ClusterPartition MBean View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872930#3872930 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872930 --- SF

[JBoss-user] [JBossCache] - Re: Problem with CacheLoader getChildrenNames

2005-04-06 Thread [EMAIL PROTECTED]
Okay, so if you can send me the test method so I can integrate it into my testsuite, that would be helpful to fix the problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872931#3872931 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: How to mark SLSB as unavailable?

2005-04-06 Thread anguyen
Oops, the catch block for Exception should look like this: | catch (Exception e) { | Throwable rootCause = e; | Throwable nextCause = null; | while ((nextCause = rootCause.getCause()) != null) { | rootCause = nextCause; | } |

[JBoss-user] [EJB/JBoss] - Trouble with a simple query method

2005-04-06 Thread msowka
Hello Folks, I'm trying to implement a simple query method in a small EJB component of the Petstore app. #1 I've got an 'public abstract int ejbHomeOrderCount()' in my OrderEJB.java #2 I've got an 'int orderCount()' in my OrderLocalHome.java #3 I've stuck the following into my ejb-jar.xml:

[JBoss-user] [JBossCache] - Using pre-configured CacheLoader

2005-04-06 Thread akropp
I am using the Spring Framework to configure all of my business objects, including an instance of TreeCache (rather than using MBeans). I was hoping to be able to create a CacheLoader bean in my Spring configuration xml file which I can set as the CacheLoader property on the TreeCache. This

[JBoss-user] [HTTPD, Servlets JSP] - jboss classloading question

2005-04-06 Thread jbosss
We are using JBoss 3.2.1 I have a few questions about the class loading architecture. As I understand it, whenever a class is needed, the UnifiedClassLoader3 tries to get it from the ClassLoaderRepository cache. If it does not find it there, it tries to see if it can itself load the class. If

[JBoss-user] [Clustering/JBoss] - Re: Shared JNDI between cluster nodes

2005-04-06 Thread anguyen
roberto wrote : | | | ... | | try | | { | | object = new InitialContext().lookup(myinformation); | | } | | catch(Exception vErr) | | {} | | ... | | | That piece of code is using the local JDNI context, not the global one. I think you want to use the

[JBoss-user] [HTTPD, Servlets JSP] - Re: Using enums on JSP pages

2005-04-06 Thread treespace
I have come up with a solution so elegant it brings tears to my eyes:) Color is an enum. I convert it to a map that can be useBean'd and dereferenced in EL. So my app uses the enum while the JSP uses the same enum in map form. Sweet! public class ColorMapString, String extends TreeMap {

[JBoss-user] [HTTPD, Servlets JSP] - Re: Using enums on JSP pages

2005-04-06 Thread treespace
Correction: public class ColorMap extends TreeMapString, String { |public ColorMap() { | for(Color value : Color.values()) { | put(value.name(), value.name()); | } |} | } View the original post :

[JBoss-user] [Beginners Corner] - Re: Hibernate as MBEAN YET

2005-04-06 Thread cglommen
I am having the same problemPLEASE post your solution:) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872939#3872939 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872939

[JBoss-user] [Installation Configuration] - Re: JBoss Deployment order within ear

2005-04-06 Thread anguyen
Have you tried adding a depends element to your SAR's jboss-service.xml? Something like: | mbean code=my.MBean name=... | dependsjboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=WebModule,name=my.war/depends | ... | /mbean | I'm not sure what the JMX name

[JBoss-user] [Installation Configuration] - Re: JBoss Deployment order within ear

2005-04-06 Thread anguyen
Just noticed that you're within in EAR file, so perhaps try setting J2EEApplication=... to the name of your ear. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872943#3872943 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Trouble with a simple query method

2005-04-06 Thread msowka
Well, I've fiddled around with my EJB, separating the orderCount into an ejbHomeOrderCount and ejbSelectOrderCount. I assume that this is the correct (and only) way to do it in the first place. ... but now I've got a different error: org.jboss.deployment.DeploymentException: Error compiling

[JBoss-user] [JBossCache] - Re: Help please! Im done...

2005-04-06 Thread lehphyro
Sorry... It worked now View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872946#3872946 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872946 --- SF email is sponsored by -

[JBoss-user] [JBossCache] - I think I didnt understand

2005-04-06 Thread lehphyro
In order to put an object in cache, all that I need is: - Configure a region name, for example, ...; - Call cache.put(/Test, test, object); But I receive the message: node /Filiados not found What was that? View the original post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: jboss classloading question

2005-04-06 Thread jbosss
One more question : 1. Why do we have 3 versions of class loaders : UnifiedClassLoader, UnifiedClassLoader2 and UnifiedClassLoader3 ? Similarly for UnifiedLoaderRepository, again why 3 versions? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872947#3872947

[JBoss-user] [Clustering/JBoss] - Re: Programatically removing a node from a cluster

2005-04-06 Thread sidazad
Got it. Thx! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872950#3872950 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872950 --- SF email is sponsored by - The IT

[JBoss-user] [Installation Configuration] - Re: looking for sitescope plugin

2005-04-06 Thread yangju
I am wondering if sitescope can monitor jboss mbean? I know sitescope is able to monitor weblogic mbeans. Can anybody share their knowledge on this? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872951#3872951 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - how to disable jboss mbean start at deployment time

2005-04-06 Thread yangju
I have written wrappers around some of our backend processors as mbeans. These mbeans extend jboss ServiceMBeanSupport. Therefore they inherit the start() and stop(). However, at deployment time, I don't want these mbeans to start. The users will control the start/stop of these mbeans through

[JBoss-user] [Clustering/JBoss] - Question on JNDI lookup using HttpNamingContextFactory

2005-04-06 Thread vasandhan
I am having 2 independent JBOSS server in 2 different location. I have configured identically both the environments. I am trying to publish message to a JMS topic using HTTPS. For lookup I am trying to use HttpNamingContextFactory. I am trying to find a way to give multiple URLS to

[JBoss-user] [Beginners Corner] - JSP's won't update when I deploy my Application!

2005-04-06 Thread leeand00
My JSPs are cached somewhere when I deploy my application. I change the JSP page in my code. And when I redepoy the application the JSP page stays the same as it was before I deployed it. What is going on here? Is it saved in cache? I also deleted the war file to undeploy the applicaiton

  1   2   >