[JBoss-user] [JCA/JBoss] - Re: DataSource & Service not loading incorrect order

2005-04-06 Thread gareth.powell
The above subject line, should have had a space between 'in' and 'correct'. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873002#3873002 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873002

[JBoss-user] [JCA/JBoss] - DataSource & Service not loading incorrect order

2005-04-06 Thread gareth.powell
Hi, I currently have a service SAR that uses an EJB3 Entity Bean. The bean depends upon an Oracle datasource. If I start my JBoss 4.0.1sp1 server with the datasource descriptor in the deploy directory and no SAR, the datasource is deployed correctly. If I then deploy the SAR, everything wor

[JBoss-user] [EJB/JBoss] - Re: Creating CORBA wrapper servants for EJB objects

2005-04-06 Thread nfg
Thanks for the reply. I will look into the MBean documentation in the JBoss guide some more before attempting this - but now I know that it is possible :) Regards, Francois PS: I have no idea why the post came through in someone else's username but I suspect the link I in a "sticky note" instru

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

2005-04-06 Thread gareth.powell
Have now tried your suggestion, but unfortunatelty it hasn't made the slightest bit of difference. I've tried it with a '1' at the start of the name and the letter 'a', but no joy. Would seem to be a strange behaviour of JBoss if that were the case. Surely dependencies should be satisfied ahead

[JBoss-user] [Beginners Corner] - PostgreSQL as DefaultDS Tutorial

2005-04-06 Thread dayjah
Hi, I am relatively new to JBoss 4 and have been attempting to remove the HyperSonic DB dependance and use Postgres instead. There is a startling lack of documentation surrounding this in JBoss 4! I have just now sucessfully managed to do this and here is my step by step on doing it. I assume

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

2005-04-06 Thread roberto
I try it and works fine. So the problem now is how use as defualt the HA-JNDI port when in my code (web container and ejb container.. and not in a client) i use new InitialContext() without setting properties directly. Maybe it is necessary change same configuration file. I think that the standa

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

2005-04-06 Thread [EMAIL PROTECTED]
I changed this in CVS head: here's the new method (called in startService()): protected void createCacheLoader() throws Exception { if(cache_loader == null && cache_loader_class != null) { Class cl=Thread.currentThread().getContextClassLoader().loadClass(cache_loader_class);

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

2005-04-06 Thread roberto
Thank You, i try this way, but in every case, how can i retrieve the port number at runtime? In all my project (web and ejb container) when i execute a lookup on the JNDI context, i initialize it only using new InitialContext() without using properties. It's possible to set as default PROVIDER

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS DLQ Exception

2005-04-06 Thread n.belford
By the way - we are using version 4.0.1 and the bug remains in the source code i.e. in org.jboss.ejb.plugins.jms.DLQHandler.java /** * Make the Message properties writable. * * @return the writable message. */ protected Message makeWritable(Message msg, boolean trace) thr

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS DLQ Exception

2005-04-06 Thread n.belford
Mr Brock, We are getting the same error. Have you forgotten something from 2 years ago? quote ... Category: JBossMQ Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Elias Ross (genman) >Assigned to: Elias Ross (genman) Summary: NullPointerException in DLQHandler Initial Comm

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

2005-04-06 Thread vashistvishal
I have posted a new thread for the feedback required on the new version of tutorial, please provide yr feedback. https://www.jboss.org/index.html?module=bb&op=viewtopic&t=62314 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872990#3872990 Reply to the post

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

2005-04-06 Thread akropp
OK, here you go. Three tests, one passes, two fail: | public void testGetChildren5() | { | try { | cache.put("/a/1", null); | cache.put("/a/2", null); | cache.put("/a/3", null); | System.out.println("cache is " + cache

[JBoss-user] [Installation & Configuration] - Re: how to configure ssl in jboss server

2005-04-06 Thread njfinn
I have not worked it out either. I just modified the Tomcat configuration to use SSL and that is good enough for our purposes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872988#3872988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Security & JAAS/JBoss] - Re: How to enable HTTPS?

2005-04-06 Thread njfinn
Did you solve your No trusted certificate problem with the xml-rpc calls. I'm having the same problem and it would have been great if you had of posted your solution. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872987#3872987 Reply to the post : http://www

[JBoss-user] [JCA/JBoss] - Re: No classloader for ManagedConnectionFactory

2005-04-06 Thread rossmason
Hi, Did you find a resolution for this? I have the same problem... I've tried putting the 'unfound' jar in the server/lib, and this works. But it is far from a good solution. Cheers, Ross View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872986#3872986 Rep

[JBoss-user] [EJB/JBoss] - Re: Creating CORBA wrapper servants for EJB objects

2005-04-06 Thread reverbel
Yes, what you are asking makes complete sense. CORBA front-ends for stateless session beans are very useful in the scenario you described. Putting an IDL interface in front of an SLSB is the way of circumventing the oddities of the reverse Java-to-IDL mapping and making the SLSB more convenientl

[JBoss-user] [Persistence & CMP/JBoss] - org.jboss.ejb.plugins.cmp.ejbql.ParseException

2005-04-06 Thread catherinelo
I created a finder method trying to get the latest sessionId from mySQL. SELECT DISTINCT object(u) FROM UsageSession u WHERE u.station = ?1 AND u.card = ?2 AND u.sessionId=(SELECT MAX(u2.sessionId) FROM UsageSession u2 WHERE u2.station = ?1 AND u2.card = ?2) When I deploy it, I get the followin

[JBoss-user] [Persistence & CMP/JBoss] - DVC Primary Key

2005-04-06 Thread eugene44
Hi, I have a problem with DVC primary key that contains another DVC as a property. | | | com.lanterncom.rms.config.service.VirtualPortContentPK | | | | m_virtualPort | | |

[JBoss-user] [Beginners Corner] - problem writing xindice data

2005-04-06 Thread lars_feldmann
Hi, I've got a problem when using Xindice from my webapp deployed on JBoss401. Everytime the server is restarted it seams to create a new 'temp' directory in which it extracts the web apps (xindice), unfortunatelly leaving the previously xindice db in the last 'temp' directory. What can I do to

[JBoss-user] [JCA/JBoss] - JBoss not enlisting the resource

2005-04-06 Thread fjcarretero
Hi all, I have configured MQ as a JMS provider in JBoss. Everything is working fine except when I configure JMS to be XA resource. It's throwing an MQ exception. Looking at the traces from MQ I have seen, that the XASTART call is never issued. I would like to know how and when does JBoss enlis

[JBoss-user] [Clustering/JBoss] - Re: i want to know jboss load management and clustering

2005-04-06 Thread [EMAIL PROTECTED]
You can register and checkout the clustering doc. Not quite up to date now with 4.0. But we are working on the revision. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872963#3872963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [Installation & Configuration] - Re: [beginner]error on run jboss

2005-04-06 Thread rogerforum
Remove jmxri.jar from \jre\lib\ext After 3 days with headache...the solution... My 2 cents. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872962#3872962 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872962 -

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

2005-04-06 Thread [EMAIL PROTECTED]
You need "all". -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872961#3872961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872961 --- SF email is sponsored b

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

2005-04-06 Thread msowka
Linda DeMichiel has promptly replied to me on what I thought was an error in the spec... it turns out that it's JBoss that seems to have a bug. Using Order for an is ok, but not for a identifier. Reporting a bug. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

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

2005-04-06 Thread [EMAIL PROTECTED]
Unfortunately we don't have that, ie. a way to declare in you -service.xml descriptor that you don't want your mbean to be started upon deployment. (maybe we should consider adding it). The ServiceControler will call create() & start() if he sees those methods exposed by your MBean. You'd have

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Displaying images in a JSP.

2005-04-06 Thread treespace
Yuck! Drop the leading / and use relative paths. Not context required. If you need absolute use a tag. It's mindbogglingly simple to create tags nowadays; no code required even. That way the tag can supply the context for absolute paths and it can check for that. | | View the original

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem using HTTPS IL in an MDB configured for a remote

2005-04-06 Thread mpriest
Hi, I believe that the problem I am experiencing is due to a bug in the JBossAS JMX implementation. To summarize my earlier posting, I am able to access a topic from JBossAS server "topichost" with the http il using JNDI over HTTP from a stand-alone client but not using a message-driven bean o

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

2005-04-06 Thread treespace
Try capturing the 404 and poking around from there. | | 404 | /jboss/whaddup.jsp | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872956#3872956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[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 an

[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 HttpNamingCon

[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 jm

[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=bb&op=viewtopic&p=3872951#3872951 Reply to the post : http://www.jboss.o

[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=bb&op=viewtopic&p=3872950#3872950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872950 --- SF email is sponsored by - The I

[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=bb&op=viewtopic&p=3872947#3872947

[JBoss-user] [JBossCache] - I think I didnÂt 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 : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [JBossCache] - Re: Help please! IÂm done...

2005-04-06 Thread lehphyro
Sorry... It worked now View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872946#3872946 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872946 --- SF email is sponsored

[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 EJB

[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=bb&op=viewtopic&p=3872943#3872943 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[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: | | jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=WebModule,name=my.war | ... | | I'm not sure what the JMX name should be for a deployed WAR, but looking through the

[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=bb&op=viewtopic&p=3872939#3872939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872939 -

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

2005-04-06 Thread treespace
Correction: public class ColorMap extends TreeMap { |public ColorMap() { | for(Color value : Color.values()) { | put(value.name(), value.name()); | } |} | } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872938#3872938

[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 ColorMap extends TreeMap { public C

[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] - 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 t

[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] [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] [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] [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=bb&op=viewtopic&p=3872931#3872931 Reply to the post : http://www.jboss.org/index.html?module=bb&op=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=bb&op=viewtopic&p=3872930#3872930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872930 ---

[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=bb&op=viewtopic&p=3872929#3872929 Reply to the post : http://w

[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=bb&op=viewtopic&p=3872928#3872928 Reply to the post : http://www.jboss.or

[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] [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 FileCa

[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=bb&op=viewtopic&p=3872925#3872925 Reply to

[JBoss-user] [JBossCache] - Re: Old version of JBoss canÂt 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 : http://www.jboss.org/index.html?module=bb&op=vi

[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=bb&op=viewtopic&p=3872923#3872923 Reply to

[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=bb&op=viewtopic&p=3872922#3872922 Reply to the post : http://www.jboss.org/index.ht

[JBoss-user] [JBossCache] - Help please! IÂm done...

2005-04-06 Thread lehphyro
JBoss Cache donÂt 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] [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=bb&op=viewtopic&p=3872919#3872919 Reply to the post : http:

[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 prod

[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] [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] [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 deployi

[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 2.

[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). H

[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 dataso

[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=bb&op=viewtopic&t=62303 is that what you need ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872902#3872902 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872902 -

[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 constru

[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 t

[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 " + cache.printLock

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

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]
never mind, I'll do it View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872895#3872895 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872895 --- SF email is sponsored

[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 : http://www.jboss.or

[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 = (DataSource)ctx.lookup("java:comp/

[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=bb&op=viewtopic&p=3872889#3872889 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872889 -

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

2005-04-06 Thread tbech
You reported similar topic as me in 'http://www.jboss.org/index.html?module=bb&op=viewtopic&t=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] [JBossCache] - Old version of JBoss canÂt handle JBossCache

2005-04-06 Thread lehphyro
I canÂt 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 : http://www.jboss.org/i

[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 org.jboss.invocation.Ma

[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 initia

[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

[JBoss-user] [JBossCache] - Re: I canÂt 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=bb&op=viewtopic&p=3872877#3872877 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872

[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 directo

[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 1

[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=bb&op=viewtopic&p=3872873#3872873 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872873

[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 : http://www.

[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 : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872870#38

[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=bb&op=viewtopic&p=3872868#3872868 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[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 : http://www.jboss.org/index.html?mo

[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 1.3/1.4/

[JBoss-user] [JBossCache] - Re: I canÂt deploy XML file

2005-04-06 Thread lehphyro
Okay, I got it deployed. Now I canÂt 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 org.jboss.proxy.SecurityInt

[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=bb&op=viewtopic&p=3872863#3872863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872863

[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=bb&op=viewtopic&p=3872860#3872860 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872860 -

[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 a

[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] [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=bb&op=viewtopic&p=3872856#3872856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872856 --- SF email is s

[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 emebe

[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=bb&op=viewtopic&p=3872854#3872854 Reply to the post : http://www.jbos

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

2005-04-06 Thread paulkuit
IÂm 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 stateme

[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 !!! a

[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 !!! a

  1   2   >