[JBoss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError: com/sun/enterprise/tools

2005-04-04 Thread vashistvishal
This doesn't seem to be JBoss -specific files, i think u are probably using some examples from sun bundled in jar file to be deploy in jboss and by the looks of it it seems u are not setting the classpath variable properly, which u intend to use in these jars. try jar -tvf .jar to see where

[JBoss-user] [Security JAAS/JBoss] - Re: Anomoly in DatabaseServerLoginModule

2005-04-04 Thread tonemeister
Contents as below of EDRMS-DS as requested ?xml version=1.0 encoding=UTF-8? local-tx-datasource jndi-nameEDRMS-DS/jndi-name

[JBoss-user] [Beginners Corner] - Re: Client call of a remote EJB

2005-04-04 Thread darranl
Get rid of the JBoss jars that you are currently referencing on your classpath and just use 'jbossall-client.jar'. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872506#3872506 Reply to the post :

[JBoss-user] [HTTPD, Servlets JSP] - import statement in .jsp fails --jboss-3.2.6 -- Eclipse 3.0.

2005-04-04 Thread wiley173
Hello I trying to import a class via ... | %@ page contentType=text/html; charset=iso-8859-1 language=java import=java.sql.* ,com.mypackage.*, java.util.ArrayList % | from a jsp file. com.mypackage.* gives me a package does not exist error. I have other packages like

[JBoss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError: com/sun/enterprise/tools

2005-04-04 Thread emailssent
Is J2EE server is necessary for deploy java application to jboss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872510#3872510 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872510

[JBoss-user] [JNDI/Naming/Network] - Calling remote EJB ended up calling the local EJB

2005-04-04 Thread [EMAIL PROTECTED]
We are migrating an application from Weblogic to JBoss. We have a problem in calling a remote EJB. The scenario is this: We have two JBoss servers on two machines. The application with EJB's is deployed on both machines. There is one part of the application that no matter which machine it

[JBoss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError: com/sun/enterprise/tools

2005-04-04 Thread emailssent
Thanks for reply. I am trying use jboos, and trying to deploy Duke's Bank application that is taught in getting started docuementation of jboss. Is J2EE server is necessary for deploy java application to jboss, i am first compiling it, then generation ejbs,war,ear and then i will

[JBoss-user] [JNDI/Naming/Network] - Re: Calling remote EJB ended up calling the local EJB

2005-04-04 Thread darranl
There is a problem with calling beans remotely on some versions of JBoss. http://jira.jboss.com/jira/browse/JBAS-1442 What JBoss version are you using? Can you try your code on JBoss 4.0.2 RC1 to see if the fix above solves your problem. View the original post :

[JBoss-user] [EJB/JBoss] - Re: Exploding EAR

2005-04-04 Thread i_subhash_jboss
Thnx a lot,,it was so simple...thnx a lot... Regds Subhash View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872514#3872514 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872514

[JBoss-user] [Installation Configuration] - EJB BMP cache problem with findByPrimaryKey

2005-04-04 Thread s-sartel
I'm developping BMP EJB and I saw that when I call the ejbFindByPrimaryKey, the first time, a connection is made to the datadase to load the EJB but the second time, no connection is made, JBoss retrieve the instance from the cache. My problem is that I don't want any cache, the database is

[JBoss-user] [Management, JMX/JBoss] - LifeCycle events

2005-04-04 Thread George80
Weblogic has a feature for handling lifecycle management. This feature is called Application lifecycle listener events and it provide handles on which developers can control behavior during deployment, undeployment, and redeployment. I wonder if JBoss have something similar to that. Any

[JBoss-user] [Beginners Corner] - Client can't connect to EJB

2005-04-04 Thread peterweik
Hello, I am a newbie and I am trying to call a simple stateless ejb which is deployed (this worked) in Jboss 4.0, which doesn't work, which drives me cracy. The Client as shown below alway runs into the javax.naming.NamingException. My Operating System: Windows XP Prof,JBoss Version 4.0.0.

[JBoss-user] [JBossWS] - Re: Compression Handler

2005-04-04 Thread singular_droid
Hi again. I have modified code of my Handler and now i have included into in such code: | public boolean handleResponse(MessageContext msgContext) { | try { | logger.debug(CompressionHandler handleResponse); | SOAPMessage

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

2005-04-04 Thread lac_raz
10x :-) I need to retrieve values from my Data Source into the cache every 5 minutes (because my DataSource is changed from other source) . Can I configure this in my xml configuration file ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872519#3872519

[JBoss-user] [Management, JMX/JBoss] - Re: LifeCycle events

2005-04-04 Thread [EMAIL PROTECTED]
In jboss we have 4 lifecycle events, but those are not really related to deployment/undeployment (there are other MBeans that take care of this, e.g. MainDeployer, SubDeployers, etc.) See: http://www.jboss.org/wiki/Wiki.jsp?page=ServiceLifecycle Check out the microkernel chapter from the docs

[JBoss-user] [Installation Configuration] - Re: JBoss Start up - Problem with the System Tables

2005-04-04 Thread kallemaller
I get the same error. Where are my system tables? ;-) Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872521#3872521 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872521

[JBoss-user] [Installation Configuration] - Re: Sun JVM 64-bit

2005-04-04 Thread fco_alvrz
I keep thinking 64bit has clear advantages over 32bit, and, as you say some overhead, but it's not an overhead that's the difference indeed. The hardware is supposed to be designed for 64bit memory and data transfers, and the JVM is specific for it. Maybe your particular comparison is not

[JBoss-user] [Management, JMX/JBoss] - Re: where to define jndi-name for mbean in SAR?

2005-04-04 Thread raja05
If you have something in the Global NameSpace, you should be looking up context.lookup(ConnectionFactory). The JNDIView tells u where and how the ConnectionFactory is bound. IF its bound under the java: namespace, you need to lookup java:/ConnectionFactory. In all, it depends on what kind of a

[JBoss-user] [Management, JMX/JBoss] - Re: JMX method level ??

2005-04-04 Thread raja05
You should be able to do this from the MBean. MBean just manages whatever resource that you need to manage. IF you want to manage a EJB, do the lookup for that EJB in ur MBean create/start methods and expose the other methods that you want to manage. These methods can inturn call the actual EJB

[JBoss-user] [Security JAAS/JBoss] - method-permission problem

2005-04-04 Thread morenito9000
Hi all, in my application I have a SFSB (Modify Bean) and 3 Roles (Ips, Aci, Prg). Ips and Aci Roles can call all bean's methods. Prg Role can call all bean's methods except possoInserire(). In ejb-jar.xml I have: | method-permission | description/description |

[JBoss-user] [Security JAAS/JBoss] - Re: method-permission problem

2005-04-04 Thread darranl
Because that is how you have configured it: - method-permission | description/description | role-nameIps/role-name | role-nameAci/role-name | role-namePrg/role-name | method | description/description |

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

2005-04-04 Thread [EMAIL PROTECTED]
No, but I will add a method soon to configure JDBCCacheLoader from a DataSource. You'd be able to set it every 5 minutes I guess View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872527#3872527 Reply to the post :

[JBoss-user] [JBoss.NET] - org.apache.axis.deployment.wsdd.WSDDException

2005-04-04 Thread ebiere
how do i fix this error? i got this error while accessing a webservice i developed for jboss 3 and copied the war and deployed it on jboss4 but on accessing it it gave me this error. AXIS error Sorry, something seems to have gone wrong... here are the details: Fault -

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

2005-04-04 Thread lac_raz
Great !!! :-) will it be on 1.3 release ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872530#3872530 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872530 --- SF

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

2005-04-04 Thread bdidiza
Hi All, I need to access session EJBs from standalone Java (and C#) applications via CORBA. Thus far I have been able to get a reasonable implementation going for C# using IIOP-NET. Unfortunately I cannot say the same for Java. One of the problems I keep on running into is that rmic generates

[JBoss-user] [Persistence CMP/JBoss] - Wrongful commit by CMP engine?

2005-04-04 Thread normann
I have a strange problem with the CMP. I can't figure out what is wrong but I have isolated the problem down to this: An object (Struts action) invokes a method on one of my stateless session beans. The method invoked has translation attribute required. Besides a lot of read-only operations

[JBoss-user] [Performance Tuning] - Getting Data Via CMR fires select for each column

2005-04-04 Thread jvembuna
Hi, We have 2 cmp entity beans. One is CustomerEJB and the other one is ContractEJB. From CustomerEJB we have a CMR 1 - N unidirectional to ContractEJB. In each of the entity bean we have a respective getCustomerValueObject() and getContractValueObject() which will return the entire data in

[JBoss-user] [Installation Configuration] - Re: JBoss 4.0 Logging Related Problems.

2005-04-04 Thread jkario_78
[EMAIL PROTECTED] wrote : Read the following and you'll see any direction is possible: | http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration | http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases | | However, there are some classes that simply cannot be

[JBoss-user] [Installation Configuration] - JBoss AS JSP useBean issue

2005-04-04 Thread avinashrs1234
Hi, We are migrating from JBoss 3.2.3 to 3.2.5 . While there is no change in the application , we are encountering a JasperException under HTTP 500 as attribute to useBean Class is invalid. Thanks in advance. Error Details are as follows: org.apache.jasper.JasperException:

[JBoss-user] [Beginners Corner] - Re: Web-console application crash

2005-04-04 Thread ruddy
i have installed JOnAS 4.3.4 and it works fine. What's going wrong with JBoss 3.2.5? I'm surprise that nobody is able to give some advise on JBoss web-console. I would appreciate some indication that would help me to solve my problem. Thanks View the original post :

[JBoss-user] [Security JAAS/JBoss] - Hi all...

2005-04-04 Thread winddancer
Ummm. first of all, I am not sure whether I am posting this query in the right section (!) Anyways, dear mods.. u guys are free to move it to the relevant section, just let me know tho! So here goes. Well, I have been sitting with this application for about 2 months now. Using the J2EE

[JBoss-user] [Messaging, JMS JBossMQ] - Error writing to queue

2005-04-04 Thread Jonasl
I have written a small client, that is supposed to send TextMessages to queue/testQueue, but I get a strange error in the server.log. Im running a fresh install of 4.0.1sp1 on windows. Here is my client: import javax.jms.*; | import javax.naming.*; | | | public class test { |

[JBoss-user] [Beginners Corner] - Re: Web-console application crash

2005-04-04 Thread darranl
What do you mean by 'the web browser crash'? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872545#3872545 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872545 --- SF

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

2005-04-04 Thread ashokjee
hi, can anybody send some notes or guideline to achive load balance in jboss for EJB. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872547#3872547 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872547

[JBoss-user] [Security JAAS/JBoss] - EDIT: Hi all...

2005-04-04 Thread winddancer
MOreover, is an option available for this in the log4j api's?? I am using apache by the way... I want to save these login attempts (both successful as well as unsuccessful ones) in such a format that the administrator can easily view them in an easy to read webpage format...showing the login

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Authentication using JAAS through LDAP

2005-04-04 Thread miojo
Yeah, sorry, I found that after post the problem... :) But I'm still having problems to use the State Manager, because there is columns related to Roles, and I'm using JAAS with a kind of NT authentication (that NTSystem.dll, just to authenticate the user in some domain, not LDAP), and the

[JBoss-user] [EJB/JBoss] - Own transaction handling?

2005-04-04 Thread ofd
Hi! I have a POJO, used by a BMT Session Bean, where some blocks of the code needs to be executed in a transaction... The POJO has no handle to the calling Session Bean and its UserTransaction, so my question is: how should I do to obtain a proper UserTransaction? Is it safe to use:

[JBoss-user] [Advanced Documentation] - BindingManager

2005-04-04 Thread rmk
Hi all! Where can I find more informations about the BindingManager? I need more examples, because I want to set all ports and services about the binding-manager-xml-file. thanks a lot rmk View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872551#3872551 Reply to

[JBoss-user] [Beginners Corner] - Where is the source to the examples?

2005-04-04 Thread bmargulies
I'm not seeing the source to the JMX example (MEJB) in either the 4.0.1sp1 binary tarball or the source tarball. Where is it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872552#3872552 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Register a JNDI name in an MBEAN

2005-04-04 Thread bmargulies
I want to have an MBEAN create a JNDI name that is visible from a session bean (with appropriate resource-ref, of course). Is this just a matter of obtaining the initial context and creating an entry, or are there more complex issues? View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Register a JNDI name in an MBEAN

2005-04-04 Thread [EMAIL PROTECTED]
See the remote/local invocations in the FAQ: http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX If your ejb is collocated with the mbeanserver you can follow the advice in the FAQ (first item), or even try to register to the local jndi a dynamic proxy to the mbean. Haven't tried the second,

[JBoss-user] [Management, JMX/JBoss] - Re: Register a JNDI name in an MBEAN

2005-04-04 Thread bmargulies
OK, I'm feeling dumber and dumber. My primary reason for embodying something as an mbean is to bring some JNI into the environment. I don't need 'remote' access at all, I just need an ordinary stateless session bean to get to the object that uses the JNI. I was assuming that I wanted to do this

[JBoss-user] [Management, JMX/JBoss] - Re: Register a JNDI name in an MBEAN

2005-04-04 Thread bmargulies
Unfortunately, the websphere end of this is pre-1.2 JMX. Could you possibly point me at an example of something like the dynamic proxy idea? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872557#3872557 Reply to the post :

[JBoss-user] [EJB/JBoss] - Wrappped Connection warnings

2005-04-04 Thread iln
I AM GETTING THE WARNING MESSAGES LIKE [WrappedConnection] Closing a statement you left open, please do your own housekeeping EVEN AFTER CLOSING ALL THE CONNECTIONS. PLEASE HELP ME View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872558#3872558 Reply to the

[JBoss-user] [Management, JMX/JBoss] - Re: Register a JNDI name in an MBEAN

2005-04-04 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=HowCanAnEJBCallAnMBean I'd register to jndi the dynamic proxy returned by MBeanServerInvocationHandler.newProxyInstance(..); I'd guess this will work with both servers. View the original post :

[JBoss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError: com/sun/enterprise/tools

2005-04-04 Thread vashistvishal
J2EE Server is needed (JBoss is J2EE compliant server) for deploying J2EE applications. When u say Java applications what do u mean by that, because J2EE applications are itslef in JAVA. So not sure what u mean. If u mean non J2EE applications then u dont need J2EE Server. I hope this clarifies.

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Error writing to queue

2005-04-04 Thread Jonasl
I tried the example from http://www.jboss.org/wiki/Wiki.jsp?page=QueueExample I get this output, but I get an other exception in my server.log. C:\sletjava -cp .;jbossall-client.jar Client | Creating jndi context - alternatively use a jndi.properties | Looking up queue | Looking up

[JBoss-user] [Advanced Documentation] - Examples won't compile on some machines

2005-04-04 Thread NickDeGraeve
We have 4 pc's on which we tried to compile the JBoss 4 Guide examples. On 2 machines it succeeded, on 2 it failed with message: [javac] C:\JBoss\jboss4guide\examples\src\main\org\jboss\chap8\ex2\JndiUserAndPass.java:33: abstract method initialize(javax.security.auth.Subject

[JBoss-user] [Installation Configuration] - Service terminated unexpectedly

2005-04-04 Thread sunshineDev
Hi guys, I'm getting the following message on both Windows 2000 and XP's event viewers: anonymous wrote : Service terminated unexpectedly. Event ID 7034. This is how I'm deploying Jboss as a windows service: anonymous wrote : JBossService.exe -install JBossService

[JBoss-user] [EJB/JBoss] - Re: Wrappped Connection warnings

2005-04-04 Thread darranl
This page should hopefully help: - http://www.jboss.org/wiki/Wiki.jsp?page=WhatDoesTheMessageDoYourOwnHousekeepingMean View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872565#3872565 Reply to the post :

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

2005-04-04 Thread cvandyck
This is under JBoss 3.2.3. We deploy our application to clients with various datasources. To date we've kept the datasource-mapping for the CMP layer in ejb.jar/META-INF/jbosscmp-jdbc.xml But that means we have to package two different versions of our product to use the different kinds of

[JBoss-user] [JBossWS] - Education question - literal/encoded, RPC/Document

2005-04-04 Thread dhartford
I've been trying to find a good, general reference between the four different types of WebServices. RPC/encoded RPC/literal Document/encoded Document/literal Please help in educating the populace with hopefully a good general understanding. My understandings to date, with (?) in assumption

[JBoss-user] [Installation Configuration] - EJB hot deploy libs not in class path.

2005-04-04 Thread tmpnfl
Hi I have recently done an upgrade from 3.2.3 of JBoss to 4.0.1. I have noticed that in the new version my EJB will no longer hot deploy. I get loads of 'java.lang.NoClassDefFoundError' errors. I need to include all of libs which were packaged inside my EJB .jar file's META-INF directory in the

[JBoss-user] [Beginners Corner] - Re: Client call of a remote EJB

2005-04-04 Thread drakonis
That did the trick. 10q man, you're a life saver. God bless u! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872572#3872572 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872572

[JBoss-user] [Security JAAS/JBoss] - flushing cache on session timeout!

2005-04-04 Thread Belal
Hi, How can I flush the JAAS authentication cache upon session timeout in JBOSS 4.0.1? I tried what is there in this link, but it doesn't work!!! http://www.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials Any help please! View the original post :

[JBoss-user] [Beginners Corner] - Digester Upgrade?

2005-04-04 Thread vinsonizer
I'm deploying a Webapp in an EAR that requires commons-digester 1.6 (for pushParams), and I get an IllegalAccessException when I run my application. Since this is a webapp, i looked in the jbossweb-tomcat50.sar and there i saw a commons-digester.jar file. After extracting this and looking in

[JBoss-user] [Beginners Corner] - Re: Unable to display servlet page in jboss Please help

2005-04-04 Thread shanker
Thanks a lot. I will try. Thankyou once again. Shanker. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872578#3872578 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872578

[JBoss-user] [JNDI/Naming/Network] - Re: Calling remote EJB ended up calling the local EJB

2005-04-04 Thread [EMAIL PROTECTED]
We are using JBoss 4.01 and we are NOT using clustering. This is a case of one JBoss simply talking o another JBoss. May be I should try this on 4.01 SP1 first, that's the version to plan to go production... View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Calling remote EJB ended up calling the local EJB

2005-04-04 Thread darranl
[EMAIL PROTECTED] wrote : We are using JBoss 4.01 and we are NOT using clustering. This is a case of one JBoss simply talking o another JBoss. | The issue does not describe a clustering issue. The issue describes how an enhancement made to the clustering code has had an effect on behaviour

[JBoss-user] [EJB/JBoss] - How do I disable an entity cache?

2005-04-04 Thread jxie
I used an BMP entity bean for multiple tables (join table). I use primary key columns from one table (child table) as a primary key. After I can insert (ejbCreate) one record for the child table successfully, I can not view all data from the multiple table. I only see child table data I just

[JBoss-user] [Installation Configuration] - JBoss 4.0.0 Request Logging

2005-04-04 Thread grandmst
Hello. I was using Jetty as my web server in JBoss and now I have switched to the included Tomcat web server. How do I turn on request logging so that I can obtain data on web traffic? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872588#3872588

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error: can't find data source: java:/DefaultDS

2005-04-04 Thread javascope
i had your problem, and it is not solved only by your suggestion. In addition to your suggestion, i replaced all datasourceDefaultDS/datasource with datasourcejava:/DefaultDS/datasource in the files standardjaws.xml, standardjbosscmp-jdbc.xml over C:\jboss-4.0.1sp1\server\default\conf and

[JBoss-user] [Advanced Documentation] - Re: Release 2 of the Application Server Guide

2005-04-04 Thread chengwei_lee
[EMAIL PROTECTED] wrote : The 4.0.2 docs will come as a PDF. They will be out when 4.0.2 is released. | Hi, do you have a rough date for the release then? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872594#3872594 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: EJB hot deploy libs not in class path.

2005-04-04 Thread tmpnfl
Sorry guys, I had never included the classpath in my manifest. I added the following to META-INF/MANIFEST.MF: Class-Path: lib The jasperreports part is OK, I can live with that. Sorry If I wasted your time. :( View the original post :

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

2005-04-04 Thread kiran_k
Thanks for the reply. I resolved the issue. Regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872596#3872596 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872596

[JBoss-user] [Beginners Corner] - Re: Client can't connect to EJB

2005-04-04 Thread fbiaggi
Maybe helps, are you shure to use iiop instead of jnp ? Ciao. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872597#3872597 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872597

[JBoss-user] [Advanced Documentation] - Re: Release 2 of the Application Server Guide

2005-04-04 Thread [EMAIL PROTECTED]
4.0.2 roadmap: http://jira.jboss.com/jira/browse/JBAS?report=com.atlassian.jira.plugin.system.project:roadmap-panel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872605#3872605 Reply to the post :

[JBoss-user] [JBossCache] - Re: eviction errors

2005-04-04 Thread drosenbaum
Actually, I traced these errors to consistenly happen after I do the following: | cache.remove(/); | to remove all the contents of the cache. Is this in effect not a legal thing to do, since I get those eviction errors afterward? If it is not, what is the proper way to clear the

[JBoss-user] [JBossWS] - Re: Education question - literal/encoded, RPC/Document

2005-04-04 Thread [EMAIL PROTECTED]
I've found this to be helpful: http://www-106.ibm.com/developerworks/webservices/library/ws-whichwsdl/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872609#3872609 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872609

[JBoss-user] [Security JAAS/JBoss] - Re: flushing cache on session timeout!

2005-04-04 Thread [EMAIL PROTECTED]
The link works fine for me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872611#3872611 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872611 --- SF email is sponsored

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS with DB2

2005-04-04 Thread mpelzsherman
4.0.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872610#3872610 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872610 --- SF email is sponsored by - The IT Product

[JBoss-user] [Persistence CMP/JBoss] - JBoss 4.01sp MySql 4.1: JNDI ok, but cmp will not deploy d

2005-04-04 Thread natgross
[First off, I have googled, searched, researched, and feel foolish because it seems trivial, but] Hi; JBoss 4.01 with MySql 4.1 on Fedora 3. No problem setting up and running jdbc from a session ejb, but my first crack at cmp has JBoss complain about the syntax as follows: |

[JBoss-user] [Beginners Corner] - Re: Digester Upgrade?

2005-04-04 Thread [EMAIL PROTECTED]
In general you cannot override classes that are part of the implementation of the web container unless they were designed for this such as a jaxp based xml parser. If you find that you cannot scope classes from the associated service, then your only option is to upgrade the classes from that

[JBoss-user] [Messaging, JMS JBossMQ] - How to config StateManager with custom JAAS

2005-04-04 Thread miojo
I'm using a custom JAAS login module, which authenticates the users through a DLL called NTSystem.dll in a specified Windows Domain Name. There is no authorization part. And so, the JBossMQ provider throws an exception saying that the user has no role to do a Durable Subscription to a topic.

[JBoss-user] [Management, JMX/JBoss] - How do I start session beans at deployment time?

2005-04-04 Thread mooktarus
I'm working on a stateless session bean, call it ExampleBean, and I want to start up instances of it before it's used, i.e. start the app with one or more instances in the pool. The reason I want this is because the startup time is rather lengthy, and I want this startup time out of the way

[JBoss-user] [Installation Configuration] - Deploy in JBoss 401

2005-04-04 Thread rcforte
Hi, I am deploying an application in JBoss 4.01, but when I shutdown the system it raises the folowing error: java.lang.OutOfMemoryError: PermGen space message. I am using Xms128m and -Xmx512m jvm option. Need I use a customized configuration to the Garbage Collector increasing the permanent

[JBoss-user] [JBossWS] - Returning a complex type

2005-04-04 Thread dannox02
I have a web service deployed as rpc-literal. I have two methods, one returns an int, the other a complex type Persion. What steps do I need to follow to get serialzation/deserialization of my complex type to work? I've found alot of examples of web services using simple types... none with

[JBoss-user] [Persistence CMP/JBoss] - Performance problem with some sql queries

2005-04-04 Thread rafcio
Hi, after extending our MySQL 4.0.23a installation to master-slave configuration, two specific queries sended from our JBoss are 25-30 times slower. In our J2EE application which runs under JBoss 3.2.2 we are generating own queries by using a connection from JBoss connection pool. This are

[JBoss-user] [Beginners Corner] - Re: Digester Upgrade?

2005-04-04 Thread vinsonizer
I actually dropped the digester jar into my server's lib directory and everything seems fine. Are there some issues I should look out for while doing this? AFAIK, the digester is backwards compatable so I would hope it wouldn't matter too much. Jason View the original post :

[JBoss-user] [JBossWS] - one ejb, multiple webservice types

2005-04-04 Thread dhartford
Hey all, Trying to deploy a single bean with multiple webservices: RPC/Encoded RPC/Literal Document/Literal Everything looks good until the end: | 15:50:51,517 INFO [EjbModule] Deploying BasicTypesBean | 15:50:51,564 INFO [EJBDeployer] Deployed:

[JBoss-user] [Persistence CMP/JBoss] - bitwise AND

2005-04-04 Thread ereze
It's a pitty but I can't seem to find a way to issue a bitwise AND: ?1 ^ ?2 = ?3 SQL command. Isn't there a way? If only we could extend or add more function mappings to the standardjboss-cmp.xml that would have solved it. Any help would be appreciated here, Erez View the original post :

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

2005-04-04 Thread jiwils
In my application there are two non-cache loader cache instances (plus my application layer) and a single cache loader instance (without my application layer). With this setup, my application layer does not seem to be adversly affected with the addition of the cache loader (as it was in the

[JBoss-user] [Beginners Corner] - Re: Writing client for Web Services

2005-04-04 Thread mingweiwu
I got the same error when I tried to use my client java code to run(JBoss4.0.1). Can someone give an URL for Chapter 12 when I run for HelloService? Thanks! Ming-wei Wu View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872627#3872627 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Using password hashing in JAAS not working. Password hash c

2005-04-04 Thread robr
Hi I am trying to use the Password Hashing mechanism described in the Dukes Bank tutorial. I was able to successfully get the regular login and password tied to a database security using JAAS to work. When I now try to use the Password Hashing I get the following error in the JBOSS log file.

[JBoss-user] [EJB/JBoss] - Does JBoss 4.0.x still support EJB1.1?

2005-04-04 Thread BigCanOfTuna
I have an application that was developed to EJB1.1 specs. Does JBoss 4.0.x still support this specification. Also, is there a planned retirement of the 1.1 specs? Thanks! BCOT. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872638#3872638 Reply to the post :

[JBoss-user] [JBossCache] - Re: exception in LRUAlgorithm

2005-04-04 Thread kkalmbach
After much searching I think I found my problem. Does this make sense to you.. I do not specify a isolation level in my service.xml, so (I think) I use the LockStategyNone. When I have 2 threads doing a repeated add/removes on the same node. One does not wait on the other, and the adds and

[JBoss-user] [Security JAAS/JBoss] - Found the problem.

2005-04-04 Thread robr
I did not make the entry the way I should have in the login.xml file. I made the following entry. |module-option name=hashAlgorithmMD5/module-option |module-option name=hashAlgorithmbase64/module-option | | It should have been |module-option

[JBoss-user] simple log4j issue

2005-04-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
I've got a war that has a log4j.xml in WEB-INF/classes: ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE log4j:configuration SYSTEM log4j.dtd log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; appender name=FILE class=org.apache.log4j.FileAppender param name=File

[JBoss-user] [JBossCache] - Re: exception in LRUAlgorithm

2005-04-04 Thread [EMAIL PROTECTED]
Kevin, The default lock strategy should be REPEATABLE_READ if you don't specify any. So that still does not explain why you are getting to delete it twice. There is a scenario can happen though. When eviction policy is trying to evict a node, another thread swoop in to delete the node first.

[JBoss-user] [JBossCache] - Re: eviction errors

2005-04-04 Thread [EMAIL PROTECTED]
I am just curious why do you need to turn on eviction policy using Hibernate. Isn't Hibernate has its own policy or I am mistaken? I will need to double check this with Gavin. Second of all, we are planning to provide an API that can clean up the whoe cache content so you dont need to do it

[JBoss-user] [Messaging, JMS JBossMQ] - How to Access the MaxTimesRedelivered programmatically ???

2005-04-04 Thread vvangara
Hello Friends, I have set MaxTimesRedelivered = 3 in my standardjboss.xml. My question is how to access this parameter programmatically in the MDB ? I have tried to access JMS_JBOSS_REDELIVERY_LIMIT, but it says JMS_JBOSS_REDELIVERY_LIMIT is not set. So please help me. How can i access this

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Question about JMSPriority

2005-04-04 Thread kamper
Bump. I'd also like to know if there are any ways to change message priority on the fly in order to avoid starvation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872644#3872644 Reply to the post :

[JBoss-user] [JBossCache] - Re: eviction errors

2005-04-04 Thread [EMAIL PROTECTED]
Ok, just check with Gavin. Hibernate leaves the underlying cache to evict the nodes. So it is kosher. But question is why do you need to clean up the whole tree while turning on eviction though? -Ben View the original post :

[JBoss-user] [Beginners Corner] - Re: Writing client for Web Services

2005-04-04 Thread lafr
I think you have to provide the URL to the WSDL file as the first argument: http://localhost:8080/Hello-Service/Hello?wsdl. Try this with your favourate browser to see if this gives you the WSDL. At the end of the WSDL there is the URL for the service. The client application or better the methods

[JBoss-user] [JCA/JBoss] - How to depend on Connection Factory

2005-04-04 Thread odigokid
Hi, I have and Mbean that depends on a Queue. I added this depends statement to my jboss-service.xml file jboss.mq.destination:name=EventReceiverQueue,service=Queue Now I get errors saying the Connection not Bound. I figure that this has something to do with the fact that I am using the

[JBoss-user] [HTTPD, Servlets JSP] - _jsp.java and _jsp.class files disappearing

2005-04-04 Thread jbosss
We are observing this on a number of our instances. We have a Logon.jsp on which after entering the username/pass you are directed to another page. Everything is fine and after sometime, when you try to login, instead of rendering the other page, a blank page appears. No errors thrown on the

[JBoss-user] [Management, JMX/JBoss] - Mbean needs to depend on ConnectionFactory

2005-04-04 Thread odigokid
Hi, Note: This question was also submitted on the JCA forum. I didn't know which forum was more appropriate. I have and Mbean that depends on a Queue. I added this depends statement to my jboss-service.xml file jboss.mq.destination:name=EventReceiverQueue,service=Queue Now I get errors

[JBoss-user] [Performance Tuning] - Re: Getting Data Via CMR fires select for each column

2005-04-04 Thread lafr
If I remeber correctly, a read-ahead-strategy on-find is needed for the relation to solve this. A typical relation definition addon in jbosscmp-jdbc.xml look like this in our code generated by xdoclet: ejb-relation | ejb-relation-nameMbiAfsta-MbiAfpos/ejb-relation-name |

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ under other application servers

2005-04-04 Thread disrael
I am trying to use JBossMQ as a .rar from another application server. With the current jms-ra.rar the first problem I hit is: anonymous wrote : Exception in thread main java.lang.NoClassDefFoundError: org/jboss/resource/JBossResourceException | at java.lang.Class.forName0(Native Method)

[JBoss-user] [Installation Configuration] - Re: JBoss-3.2.4 and commons-logging.jar bug (?!)

2005-04-04 Thread miojo
Is JBoss 3.2.6, 3.2.7 and any version of JBoss 4.x had a solution to this commons-logging problem? I needed to do a hacked version of beanutils, and put it in my EAR file, sealing it in the jboss-app.xml using the following configuration: loader-repository |

  1   2   >