[JBoss-user] [Installation & Configuration] - startup classes

2004-03-23 Thread sanjuthomas
hi all, i am using jboss 3.2.2 , i have to load few classes in jboss in the startup time, how can i do that, classes are no way related to jboss, but some third pary classes, it should be loaded in the startup time itself, please help me, with thanx http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [EJB/JBoss] - max-bean-life??

2004-03-23 Thread buptzjs
i am new to jboss. i have a sfsb , and i want to test the . in the standardjboss.xml file, i change the default value of max-bean-life from 1800 to 30 secs. if the max-bean-life well works ,my client will not get the session bean,but the result is so strange, my client can get the session after t

[JBoss-user] [Clustering/JBoss] - Re: Behaviour of Singleton Classes while Clustering?

2004-03-23 Thread ivelin
Tou can use the Distributed State Manager facility directly outside of an MBean. It is described in the JBoss Clustering book. Ivelin http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827192#3827192";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[JBoss-user] [Installation & Configuration] - Need third party tools version list in release notes

2004-03-23 Thread bwallis42
I'm currently looking at upgrading our development to use the latest release of JBoss. Our project uses a number of third party tools and libraries of things such as JacORB, Xerces, Tomcat, Oracle drivers, MySQL drivers, etc... Some come as part of jboss and sometimes we can use the ones include

[JBoss-user] [Messaging, JMS & JBossMQ] - How to make my jms client runnable?

2004-03-23 Thread idler
Hello, I wrote a jms client and tried to run it under jboss, but I found it needs tons of jboss JMS implementation class. Does anybody know what packages I should include in the classpath for running a jms application? Thank you in advance. http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Management, JMX/JBoss] - Minimum jars needed for JMX application

2004-03-23 Thread javamann
Hi, I was looking to create a Java client using JMX at it's core. What are the minimum jars needed? Also, will be able to call the JBoss 'main' routine from my client? Thanks -Pete http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827188#3827188";>View the original post http://www.j

[JBoss-user] [Persistence & CMP/JBoss] - Re: problem in configure jboss with postgres

2004-03-23 Thread yasudazzz
Kwiyi, I think your configuration still uses DefaultDS with hsqldb. there are two ways to solve. - do not remove $JBOSS_HOME/server/default/deploy/hsqldb-ds.xml or - remove $JBOSS_HOME/server/default/deploy/jms/hsqldb-jdbc2-service.xml, and copy $JBOSS_HOME/docs/examples/jms/postgres-jdbc2-se

[JBoss-user] [Persistence & CMP/JBoss] - problem in configure jboss with postgres

2004-03-23 Thread Kwiyi
Hi, I have a problem in configuring jboss with postgres. I use jboss 3.2.3 and postgres 7.4.1 - I removed /JBOSS_HOME/server/default/deploy/hsqldb-ds.xml - I added /JBOSS_HOME/server/default/deploy/postgres-ds.xml - I added /JBOSS_HOME/server/default/lib/pg74jdbc3.jar I modified /JBOSS_HOME/se

[JBoss-user] [Installation & Configuration] - Re: Extending /jboss/server/config/lib with sub-directories

2004-03-23 Thread verilet
Thanks Scott. Perfect solution to my problem. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827184#3827184";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827184>Reply to the post --

[JBoss-user] [Nukes User] - Help!Urgent in J2ME and kxml

2004-03-23 Thread luvleemy
This is the errors i facing.How can i solve it? Project "Mobile Services" loaded Project settings saved Building "Mobile Services" c:\WTK104\apps\Mobile Services\src\DataParser.java:88: cannot resolve symbol symbol : class TextEvent location: class DataParser

[JBoss-user] [Installation & Configuration] - Re: Extending /jboss/server/config/lib with sub-directories

2004-03-23 Thread [EMAIL PROTECTED]
No, such jars will not be picked up. Simply edit the conf/jboss-service.xml descriptor to add whatever directories to the static classpath: | | | | | | | | | ... | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827176#3827176";>View the or

[JBoss-user] [Installation & Configuration] - Extending /jboss/server/config/lib with sub-directories

2004-03-23 Thread verilet
I would like to place jars in a sub-directory /jboss/server/config/lib /jboss/server/config/lib /jboss/server/config/lib/foo/ ... jars ... /jboss/server/config/lib/bar/ ... more jars ... Will the classloader see these? If not is there a way to organize jars in sub-directories of the configura

[JBoss-user] [Security & JAAS/JBoss] - Re: Single Sign-ON, SPNEGO: How to?

2004-03-23 Thread [EMAIL PROTECTED]
tomcat has no support for spnego currently as its not one of the servlet spec auth methods. Do a search on google for java implementations and let us know if there are any. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827173#3827173";>View the original post http://www.jboss.org/i

[JBoss-user] [Beginners Corner] - Re: JNDI naming for EJBs

2004-03-23 Thread [EMAIL PROTECTED]
In order for a web client to be able to use initContext.lookup("java:/comp/env/ejb/AdamsFacade"), it has to define an ejb-ref or ejb-local-ref in its web.xml descriptor. If the war is in an ear with the target ejbs this can also specify the ejb-link to complete the binding. Otherwise, the ref mu

[JBoss-user] [J2EE Compliance] - Re: run-as role in ejbCreate

2004-03-23 Thread [EMAIL PROTECTED]
Only that security exceptions no longer throw the stateful session out of the cache. This is why the security interceptor is after the instance interceptor by default. If a session attempts an invalid access, it invalidates the session. With the security interceptor up front, the session will re

[JBoss-user] [Installation & Configuration] - JBoss-Jetty 3.0.x fails to startup with latest version of Xe

2004-03-23 Thread ssotangkur2
This is the same issue as the one described here: http://junlu.com/msg/38980.html Basically, if your path to jbossweb.sar contains a space like C:\Program Files\jboss\server\default\deploy\jbossweb.sar then Xerce's XMLEntityManager.setupCurrentEntity() will call expandSystemId() on the filename

[JBoss-user] [Installation & Configuration] - Re: Run JBoss in a specific IP !!!

2004-03-23 Thread Hakucho
anonymous wrote : http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= jonlee, this URL (which I notice you've posted in reply to the same question elsewhere) doesn't work for me. I guess it's been truncated somehow. Can you post it as a TinyURL please or re-post the correct one?

RE: [JBoss-user] Expanding JBoss JVM memory

2004-03-23 Thread Yasuda, Hiroyuki
Jaime, You should add -Xms parameter as well. -Xms set initial memory allocation. -Xmx set maximum memory allocation. in order to make your jvm performance maximum, you should use same memory size in -Xmx and -Xms. e.g. Set JAVA_OPTS= -Xms512m -Xmx512m run JBoss. YASUDA, Hiroyuki > --

[JBoss-user] [Installation & Configuration] - Re: multiple instances of jboss in the same machine

2004-03-23 Thread Hakucho
Doesn't the "-h" switch invoke the help option? I think you need to specify the host address using either "-b" or "--host" (using the -h option will confirm this for you!). Hope this helps, &roo http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827161#3827161";>View the original post

[JBoss-user] [Messaging, JMS & JBossMQ] - QueueRequestor and SpyTemporaryQueue implementation issue

2004-03-23 Thread srinivasbv_gowda
Hi , We are using QueueRequestor to send messages. We we try to close thr requestor we get Warning Exception. Client request resulted in a server exception: javax.jms.InvalidDestinationException: The subscription was registered with a destination that does not exist ! at org.jboss.mq

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB invoked before dependant entity beans have been full

2004-03-23 Thread drdm7321
More info: I've added tags for the entity beans my MDB depends on; JBoss now waits until the required local homes have been bound in JNDI before creating instances of my MDB and processing its queue. However, my MDB still fails, and it's still invoked before it's possible to use the dependant

[JBoss-user] [JBoss.NET & SOAP] - Re: Axis and Jboss in a distributed deployment

2004-03-23 Thread jhd
All of the required classes do reside on the WS only tier. They are in the same ear as the wsr just simply not deployed as EJB components. The classes seem to load ok. If I don't include the classes in the WS ear deployment I get ClassNotFoundExceptions before an attempt to lookup the EJB. Is

[JBoss-user] [Persistence & CMP/JBoss] - Foreign key as a Primary Key

2004-03-23 Thread thepriz
I have looked all over the place for an answer for this. I want to use a foreign key as a primary key. How do I declare this using xdoclet. I am doing this in two instances: 1) I am doing this in a one-to-one relationship where the foreign key is the same as the primary key. 2) I need to know

[JBoss-user] Expanding JBoss JVM memory

2004-03-23 Thread JAIME GOMEZ
How to increase the size of my JVM memory to 512M? I don't sure if this procedure is correct 1.- Set JAVA_OPTS = -Xmx512m 2.- Run JBoss 3.2.3 is it correct this configuration? I work with J2SDK1.4.2 , RedHat 7.2 and JBoss3.2.3 is it the same -Xmx512m and -Xmx512mb ? Jaime Gomez

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

2004-03-23 Thread ovidiuf
It is trivial. Support for all JMS Message types will be added in the next release. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827155#3827155";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827155>Reply to the post --

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

2004-03-23 Thread ggimler
It appears one can't send objects over the sljms implementation. Are there plans to add this soon? I only see text messages right now. Is this something trivial to implement? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827154#3827154";>View the original post http://www.jboss

Re: [JBoss-user] [Clustering/JBoss] - restart jboss in cluster

2004-03-23 Thread Vladyslav Kosulin
zhangj wrote: I read some articles regarding apache+jk2+jboss saying that:you have to start jboss servers before start apache web server. what's the reason for this order? According to my experience ,the reason is that if Apache during jk2 initialization does not find some JBoss node, it exclude

[JBoss-user] [Beginners Corner] - Re: me and my

2004-03-23 Thread ibruell
The middle part looks like the database files are corrupt. I do not no if there is a way to recover these files. If the database contains no data or the data could be easily rebuilded, remove the database files and restart Jboss. If this will not work it think you have to reinstall JBoss after d

[JBoss-user] [Clustering/JBoss] - restart jboss in cluster

2004-03-23 Thread zhangj
I read some articles regarding apache+jk2+jboss saying that:you have to start jboss servers before start apache web server. what's the reason for this order? what happen if one of jboss server failed in the cluser,I have to restart this jboss server while the apache and all of others jboss server

[JBoss-user] [Beginners Corner] - Re: me and my

2004-03-23 Thread ibruell
What i could see is not realy readable. When it realy looks like it could be read. You should reinstall jboss after remving it. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827151#3827151";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382

[JBoss-user] [Persistence & CMP/JBoss] - JBoss Generating Bad SQL When Getting EJB Data

2004-03-23 Thread chadlavy
Since this is a long listing, I will thank you for your help at the top... Thank You For Your Help ENVIRONMENT: JBoss 3.2.3, WIN2000, XDoclet Generated Bean involved in a relationship. PROBLEM: I am getting the following error (see below) when running a unit test against my EJB. It seems that JB

[JBoss-user] [Beginners Corner] - Re: CMP - repeated sql condition

2004-03-23 Thread ahardy66
It would be easier to tell what is going wrong if you posted a bit of info about the findXXX method that the query comes from. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827149#3827149";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827

[JBoss-user] [HTTPD, Servlets & JSP] - How to serve /index.html?

2004-03-23 Thread kgilpin
I have a lot of complicated stuff running in JBoss. EJBs, JSP applications, data sources, etc. But I can't figure out how to accomplish a simple task. How can I have JBoss serve an index.html file without a servlet context? In other words: http://localhost:8080/index.html http://www.jboss.org/

[JBoss-user] [Persistence & CMP/JBoss] - Re: UPDATE after INSERT in CMR

2004-03-23 Thread mkyaj
Hi, I think that flag is to specify whether the insert has to be called before ejbPostCreate() or after ejbPostCreate(); Possible values are: false - the default value, INSERT will be executed after ejbCreate but before ejbPostCreate; true - INSERT will be executed after ejbPostCreate

[JBoss-user] [Javassist user questions] - instrument() always recognize an array index modification as

2004-03-23 Thread jmarranz
instrument() always recognize an array index modification as read access. Example: class MyClass { private int[] a = new int[3]; public void example() { a[2] = 5; } } Using instrument() with CodeConverter detect "a[2] = " as a read field access of "a". There is no way to modi

[JBoss-user] [Beginners Corner] - me and my

2004-03-23 Thread mentol
Ok I will start like this. I'm not sure if this is the place where I should post (please forgive me, but I'm so MAD. I use IntelliJIdea and Jboss! I proggram my parttner's backend, in JSP! 2 hours ago my Win Xp jost turned blue exactlly after I did the ANT on a project, and showed me a problem

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Connecting to a JMS Destination from a Windows app

2004-03-23 Thread ronnyou
Hi! I did it with VB.NET. I used a bridge (http://www.jnbridge.com) to obtain interoperability. The problem that I have now is that the onException event isn't triggered when I shut down the JBoss server. If you use the same bridge and you achieve doing it work please let me know. ;) http

[JBoss-user] [Beginners Corner] - J2EE Component Wizard 1.4 is available

2004-03-23 Thread m1609
The J2EE Component Wizard is a Java Swing application, that supports the creation of J2EE Components (EJBs, Servlets, JSPs, Filter, Test Clients) and the required deployment descriptors. The tool is freeware. The wizard is optimized for JBoss, but with your own template files, all application

[JBoss-user] [Javassist user questions] - Rerouting all login messages

2004-03-23 Thread ravishankarn
HI all, First of all thanks a lot for this wonderful AOP based tool. Now the problem:- We have many J2EE applications deployed in JBoss. Each application is a set of one or more components. Each component belongs to different teams. The owner of each component has included their own log4j base

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: assigning java thread priority to MDB ?

2004-03-23 Thread genman
This is what I would do in my MDB in ejbCreate: Thread.currentThread().setPriority(XXX) I don't recall seeing a way to set this is ejb-jar.xml or jboss.xml http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827140#3827140";>View the original post http://www.jboss.org/index.html?module=

[JBoss-user] [Security & JAAS/JBoss] - Re: Does restoreRequest method of FormAuthenticator ever get

2004-03-23 Thread singhvik
If you look at line 211 in authenticate method where it says // Have we authenticated this user before but have caching disabled? if (!cache) In my case 'cache' variable is false and it always falls into the if block and then reauthenticates user, checks if principal is not null, calls register

[JBoss-user] [Advanced Documentation] - Question about JBoss Administration and Development 3rd Edit

2004-03-23 Thread meinholz
I am refering to page 518, the section on using apache with the JBoss/Tomcat-4.x bundle. The docs mentions the EmbeddedCatalinaSX MBean. Is this a typo or up to date? I am only seeing a reference to EmbeddedTomcatService MBean. Is there something I need to add? I am using jboss 3.2.3 (tomcat b

[JBoss-user] [Installation & Configuration] - Re: Securing the jmx-console

2004-03-23 Thread jae77
http://jboss.org/wiki/Wiki.jsp?page=SecureTheJmxConsole wiki is your friend (altho i do think that this topic should also be exposed on the main page as well). http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827137#3827137";>View the original post http://www.jboss.org/index.html?modu

[JBoss-user] [Installation & Configuration] - Securing the jmx-console

2004-03-23 Thread n_ton
Could someone please point me to documentation on how to secure the jmx-console? I can't seem to find it anywhere. And my forum searches are turning up thousands of results. Thanx in advance. Norton http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827135#3827135";>View the origina

[JBoss-user] [Clustering/JBoss] - failover doesn't work in my cluster

2004-03-23 Thread zhangj
I set up 2 jboss3.2.3 in one cluster,and use apache2 as web server,use jk2 as connector I config the worker.properties like [config:] file=C:/Program Files/Apache Group/Apache2/conf/workers2.properties debug=0 debugEnv=0 [shm] file=C:/Program Files/Apache Group/Apache2/logs/jk2.shm size=1048576

[JBoss-user] [Management, JMX/JBoss] - JMX Notifications for clients behind firewall

2004-03-23 Thread csib
Is it possible at all to get JMX notifications to work for clients behind a firewall. I am almost on the verge of giving up on this. I tried all invokers JRMP, Pooled and Http. For every one of these I'm able to reach my mbean on the server but notifications do not come back. I've used the RMIAd

[JBoss-user] [JBoss.NET & SOAP] - Re: Axis and Jboss in a distributed deployment

2004-03-23 Thread james.clover
Hmm.. I'm not sure any solution without the client-side EJB components will work for you. I understand your desire for tiers, but why not have the client-side EJB stubs running in your Axis tier? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827132#3827132";>View the original post

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Error on JSPs -

2004-03-23 Thread toddpalino
Nevermind. It's the "out.close()" at the end. Not sure why it didn't cause things to crash before. But I've got it fixed now. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827131#3827131";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Management, JMX/JBoss] - Re: from session bean to invoke mbean's method

2004-03-23 Thread alanc_yang
ok, based on my onCommand method, it should have the following definitions: The onCommand method call onCommand The XML command xml java.lang.String java.lang.Boolean no problem! http://www.jboss.org/index.html?module=bb&op=vi

[JBoss-user] [JBoss Getting Started Documentation] - Dukes Bank example issues

2004-03-23 Thread menelin
I am a newbie to J2EE, but not J2SE. I am on OSX.3.3 and XTools. I have downloaded and started up JBOSS. Not sure how much of the JBOSS is in fact bundled with OSX and what is the best way forward and what is needed for the examples and development. Struts.jar does exist in other examples...so

[JBoss-user] [Management, JMX/JBoss] - Re: from session bean to invoke mbean's method

2004-03-23 Thread alanc_yang
what does it take to add an mbean method using chap2 xmbean example? 1) in JNDIMap.java file, public class JNDIMap extends ServiceMBeanSupport implements InvocationHandler, JNDIMapMBean { . public Boolean onCommand(String xml) { log.info("onCommand =>> xml = " + xml);

Re: [JBoss-user] [Installation & Configuration] - Jboss in a DMZ

2004-03-23 Thread Vladyslav Kosulin
ligda wrote: I know this has been posted before but I have not been able to locate a precise answer. What is the common method of deploying a Jboss Application Server in a DMZ environment? Not to do this, I hope? It is much easier to hack a server in a DMZ, and remember that as a result hacker w

[JBoss-user] [EJB/JBoss] - Re: using ServiceLocator to cache RemoteHomes

2004-03-23 Thread ahardy66
Actually I got it the wrong way around. My service locator is in the war, and it's when I redeploy the EJB ear that all the cached RemoteHomes are invalidated. So following your logic still though, is there some sort of ContextListener for the EJB ear? The ear and the war are seperate. Tx

[JBoss-user] [Security & JAAS/JBoss] - Re: bean method parameters used in permission checks?

2004-03-23 Thread [EMAIL PROTECTED]
Absolutely my thoughts. Most businesses, as I'm aware of have the needs to evaluate roles based on the relation of the person/system to the entity being acted upon. We have numerous such cases: 1) Manager updating his/her direct report's data 2) Group owner updating their group's settings/addi

[JBoss-user] [Installation & Configuration] - Re: Jboss only works with local clients on Linux

2004-03-23 Thread fabzz
Thanks for your reply In fact no firewall is running between client and servers. We do not use a DNS at all. We're using /etc/hosts file on win and linux machines. Could this be the cause of the problem ? When pinging using names from both client and servers names are well resolved. http://w

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

2004-03-23 Thread bela
ServerlessJMS can be used inside JBoss, or standalone. Yes, you should be able to integrate it easily into Tomcat. Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827123#3827123";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827123>Rep

[JBoss-user] [Messaging, JMS & JBossMQ] - Could not pong from Oracle 9i

2004-03-23 Thread [EMAIL PROTECTED]
Hi List, I am sending JMS messages from Oracle 9i java stored procedures to JBoss 3.2.3 message driven beans. The messages are getting sent and received OK, but after each message I get a connection exception. It appears that JBoss is not able to acknowledge the messages successfully. the ac

Re: [JBoss-user] JBossCache

2004-03-23 Thread Bela Ban
JAYARAM, Sujay, FM wrote: Hi all, I've been looking at incorporating caching into our middleware, and I wanted to ask a very naive question about the JBossCache product: Does incorporating JBossCache have to involve code modification in all cases - the examples I've seen require that code is a

[JBoss-user] [Clustering/JBoss] - Re: Behaviour of Singleton Classes while Clustering?

2004-03-23 Thread poojac20
Thanx for the answer Ivelin. I did some search on this, & it seems its a relatively new addition. Read your article available at http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html on o'reilly and that clears certain things. But I have more questions. The example in this arti

[JBoss-user] [Installation & Configuration] - nss_files.so.1 symbol not found

2004-03-23 Thread jllcardona
I installed the patch 108528-29 for Solaris 8. After them I cannot start the AS. I get following error message : Warning: classic VM not supported; client VM will be used Warning: classic VM not supported; client VM will be used ld.so.1: java: fatal: relocation error: file /usr/lib/nss_files.so.1

[JBoss-user] [JCA/JBoss] - Strange behaviour with db2 xa datasource

2004-03-23 Thread eolo
Hi all, I configured db2 xa datasource in jboss 3.2.3. My purpose is to work with distributed transaction between jms and jdbc connections. The transaction is container managed. Practically I developed an MDB that write in a DB. It seems work fine but under a heavy load of incoming JMS messag

[JBoss-user] [The Lizzard's corner] - Running a a stanalone application

2004-03-23 Thread ankurg
hi , I am new to Jboss. I have web application running on Jboss. Now I have a to call main method of a class that it is inside the jar file used for web application. I have to call this main method from outside web application. I have specified main class in Manifest.MF file of the jar. when i

[JBoss-user] [J2EE Compliance] - Re: run-as role in ejbCreate

2004-03-23 Thread edstorm
Thanks Scott, that works well. Is there any down side to running in this configuration? Ed http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827117#3827117";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827117>Reply to the post

[JBoss-user] [Clustering/JBoss] - Re: Jboss clustering - again error

2004-03-23 Thread slaboure
Hello, I would first recommend to update to a recent release of jboss as I remember such a bug in an older version . Cheers, sacha http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827116#3827116";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Persistence & CMP/JBoss] - How to deploy 2 application in same JBOSS 3.2.3

2004-03-23 Thread [EMAIL PROTECTED]
Hi Friends I am in need to deploy same application with context root changed in application.xml. The problem is the request dispatcher calls the files in the other EAR file.(since both r same application all the folder structure is same). Please help to solve this problem. My Maild Id is : [EM

[JBoss-user] [Beginners Corner] - CMP - repeated sql condition

2004-03-23 Thread pf
This is from selver.log: - 2004-03-23 17:25:26,205 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.FundPerfPeriodEJB] Executing SQL: SELECT ID, NAME, PERIOD_FOR_VALUE FROM FW_PERIODS WHERE (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?)

[JBoss-user] Oracle JMS Exception

2004-03-23 Thread Bruce Ashton
Hi List, I am sending JMS messages from Oracle 9i java stored procedures to JBoss 3.2.3 message driven beans. The messages are getting sent and received OK, but after each message I get a connection exception. It appears that JBoss is not able to acknowledge the messages successfully. the actua

[JBoss-user] [Security & JAAS/JBoss] - Can tomcat authenticated Subject be reused in JBoss EJB call

2004-03-23 Thread neilthorne
Hi, I have tomcat running standalone and performing authentication using a custom LoginModule. The module implementation currently creates an InitialContect object using the username and password supplied to the LoginModule. The initial context is then used to look up and call some Realm prot

[JBoss-user] [Nukes User] - Setting up forums

2004-03-23 Thread binario
Hi all, I'd really like to know if there is a step by step guide to how to set up forums using nukes and mysql. Also, if my website has a current username and password table, how do I integrate that with the nukes system. thanks very much, binario http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [JCA/JBoss] - Re: Problem with XA and Oracle

2004-03-23 Thread chrissceats
DikkeDouwe, Your recommendation of setting the to "NotSupported" did solve the problem. However, I don't want transactions to be not supported! In fact, the "Required" attribute (or "RequiresNew") is exactly what I want, because I want a transaction around the operation of my session bean. How

[JBoss-user] [Messaging, JMS & JBossMQ] - assigning java thread priority to MDB ?

2004-03-23 Thread ianh
We have multiple JMS Queues where each queue is handled by a MessageDrivenBean. Let say there are 2 queues: queue/HighPriority and queue/LowPriority. Is there a way to specify the thread priority for the 2 queues during deployment ? e.g. MDB that handles the queue/LowPriority is assigned a lo

[JBoss-user] [Persistence & CMP/JBoss] - CMP - repeated sql condition

2004-03-23 Thread pf
This is from selver.log: - 2004-03-23 17:25:26,205 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.FundPerfPeriodEJB] Executing SQL: SELECT ID, NAME, PERIOD_FOR_VALUE FROM FW_PERIODS WHERE (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?)

[JBoss-user] [Clustering/JBoss] - Jboss clustering - again error

2004-03-23 Thread [EMAIL PROTECTED]
Dear Sacha, Thanks for your reply! I really appreciate it. My class path is client side is : ( i'm using jboss-3.0.5_tomcat-4.0.6 ) %JBOSS_HOME%\server\default\lib\jnpserver.jar; %JBOSS_HOME%\server\default\lib\jboss.jar; %JBOSS_HOME%\lib\jboss-common.jar; %JBOSS_HOME%\lib\log4j-boot.jar; %JBOSS

[JBoss-user] [JCA/JBoss] - Re: Problem with XA and Oracle

2004-03-23 Thread chrissceats
But by setting the transaction attribute to be "NotSupported", aren't I preventing a transaction from starting when my session bean is accessed?? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827107#3827107";>View the original post http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Beginners Corner] - JNDI naming for EJBs

2004-03-23 Thread ahardy66
I am trying to figure out the exact nature of the JNDI environment with regard to EJBs, JNDI names, initial contexts, local and remote settings, JVMs and networking. I've got my stuff working but I would like to make sure I'm correct. I have 2 EJBs. A stateless session facade and an entity. In

[JBoss-user] [Installation & Configuration] - Application deployment fail after added jboss-app.xml

2004-03-23 Thread timothy298
i have a .ear application which is running fine in jboss 3.2.3 + tomcat 4.1 it is require for me to execute two instance of the same application so i change the jndi names.. so that the ejb name will be different for both application when i deploy the application Web container (tomcat) say

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

2004-03-23 Thread farid59
I checked the permissions of JBoss folders and the classpath but the same problem appears. ? I don't understand. Someone have an idea ? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827102#3827102";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to access Groups from a SessionContext

2004-03-23 Thread [EMAIL PROTECTED]
There is no standard api for accessing this information. You can obtain the Subject of the caller and look to its java.security.acl.Group instance called 'Roles' to find this out. | ... | // Check the java:comp/env/security/security-domain | try | { |

[JBoss-user] [Beginners Corner] - Re: Jboss start up time?

2004-03-23 Thread ahardy66
I should also check how much logging you are doing. Having your all your loggers set to TRACE level can cause a log file to grow to 10MB on startup and take ages. I know, I tried :) http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827099#3827099";>View the original post http://www.jbo

[JBoss-user] [Installation & Configuration] - JBoss fails to upload to NAS device

2004-03-23 Thread erinql
Our WAR file writes fine to a windows NAS (Network Attached Storage) device from my local copy of JDeveloper (also windows, if that makes a difference). It also works fine from our Oracle 10g app server. When we put it on JBoss, we get the following error on the syslog when using the web form t

[JBoss-user] [Messaging, JMS & JBossMQ] - Remote Queue Receivers not pulling data...

2004-03-23 Thread mhemling
I am using Red Hat 9 with java 1.4.2 and am seeing a very weird problem. I have 3 machines which are all running the same version of Linux and java and the Kernels are exact. If I start up JBOSS 3.2.3 on machine 1 and connect queue receivers from Machines 1, 2, and 3 everything works fine. Al

[JBoss-user] [Management, JMX/JBoss] - Re: Pls. suggest me which way is better to find MBeans using

2004-03-23 Thread [EMAIL PROTECTED]
Which is best is up to you. The MEJB interface is defined by the JSR-77 spec and has a well defined role based security model. It requires additional setup and client code. The RMIAdaptor is a JBoss specific adaptor that is our default interface so its simple to use. As of 3.2.4RC1 is support a

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS hang/crash (Jboss 3.2.3)

2004-03-23 Thread mhemling
I've had the EXACT same problem running java 1.4.2 on Red Hat 9. We have a ton of memory. I am still not sure what caused it but using the LD_ASSUME_KERNEL=2.4.1 that Adrian has talked about appears to have fixed my problems. Still not sure how but you may want to at least look into it. Mike

[JBoss-user] Nukes setup with Mysql

2004-03-23 Thread Brian Styles
Hi all, this has probably been asked many times but I tried to search for it and couldn't find it. I'm trying to setup nukes using the mysql download nukes-1.0.0-mysql.zip I've downloaded it and am following the instructions to create the nukes tables in mysql "2/ There are two ddl files that

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Flooding JBossMQ hangs Linux - What is recommended?

2004-03-23 Thread mhemling
What version of Linux are you using? There is a known problem with the NPTL library for Red Hat that causes hangups,etc. I am using Red Hat 9 and used the export LD_ASSUME_KERNEL=2.4.1 command at the top of the JBOSS run.sh. This will force the OS to use the old Linux threads. It worked for m

[JBoss-user] [EJB/JBoss] - Re: Writing my own Interceptor - cannot deploy

2004-03-23 Thread davetron5000
Anyone have any ideas? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827080#3827080";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827080>Reply to the post --- This SF.Net email is spo

[JBoss-user] [Installation & Configuration] - when exactly does jboss creates connection for pool?

2004-03-23 Thread gkatz
hi; i put in the deploy folder the sybase-ds.xml for configuring the DB connection pool (i added a minimum pool size of 5 connections) the deployment was ok (no exceptions) eventhough i did not change the URL or user/password (and we have different URL of course). so my question is when exactly

[JBoss-user] [Messaging, JMS & JBossMQ] - xmlBlaster support in JBoss

2004-03-23 Thread jlstrobel9
All, I am working on a project that will need an xmlBlaster client which will subscribe to an external xmlBlaster server. My goal is to run the xmlBlaster client as an MBean inside JBoss. I have spent some time with the documentation and examples provided with xmlBlaster. The documentation

[JBoss-user] [Messaging, JMS & JBossMQ] - Multiple servers accessing central Oracle JMS store

2004-03-23 Thread alwyn
Hi, In our application we have a servlet pushing objects onto a JMS queue for asynchronous processing. Using file-persistence. It seems that under load the servlet keeps the dual cpu blade so busy that processing in the ejb container suffers a lot. So I have this plan to have a tier of tomcat

[JBoss-user] [Installation & Configuration] - How did you get it to work in the first place?

2004-03-23 Thread mshaikh
I'm struggling with this one as well. However, I don't even know how to set it up so that IIS 6 could talk to Jboss-Tomcat 3.2.3. Where did you find the binaries and stuff? Munzoor [EMAIL PROTECTED] (847) 564-8900 x269 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827088#3827088";>Vi

[JBoss-user] [Clustering/JBoss] - Re: Jboss clustering

2004-03-23 Thread slaboure
Make sure your client libs (jbossall-client.jar) are from the same version as the jboss version running on the server. sacha http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827089#3827089";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38270

[JBoss-user] [Installation & Configuration] - Re: How to setup username and password in Jboss3.2.3?

2004-03-23 Thread [EMAIL PROTECTED]
Read the JAAS Howto: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46370 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827086#3827086";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827086>Reply to the post -

[JBoss-user] [Messaging, JMS & JBossMQ] - Serverless JMS

2004-03-23 Thread alwyn
Hi, Is the serverless JMS basically JBossMQ outside JBoss? If so, can you easily integrate it into a standalone Tomcat 5? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827076#3827076";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827076>

[JBoss-user] [Installation & Configuration] - Jboss in a DMZ

2004-03-23 Thread ligda
I know this has been posted before but I have not been able to locate a precise answer. What is the common method of deploying a Jboss Application Server in a DMZ environment? >From a default install of Jboss, many ports are opened and are listening for all >incoming connections (as opposed to

[JBoss-user] [Management, JMX/JBoss] - Re: JMX jars

2004-03-23 Thread [EMAIL PROTECTED]
3.2.4RC1 supports jmx 1.2, bench it yourself as you should not be relying on word of mouth for your usecase performance. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827084#3827084";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827084>Re

[JBoss-user] [Security & JAAS/JBoss] - Re: MBean method invocation cleans SecurityAssociation

2004-03-23 Thread [EMAIL PROTECTED]
Your leaking the security context back to the calling thread. Its up to you to decide if this is broken behavior in your environment. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827083#3827083";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[JBoss-user] [Clustering/JBoss] - Jboss clustering

2004-03-23 Thread [EMAIL PROTECTED]
Hello All, I am working on JBOSS clustering. My JBOSS is configured fine, but client side it's generating following error. error is javax.naming.CommunicationException: Failed to retrieve stub from server 199.77.206.6:1100 [Root exception is java.io.StreamCorruptedExcepti on: unexpected bloc

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

2004-03-23 Thread kblood
Well, please stop quoting the full message of the previous person... :) Here is my jboss323myjboss.server file, because I am using a separate server configuration (I didn' t want to mess up the original configurations). Pay attention to the paths and everywhere that you see "myjboss", put "all".

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

2004-03-23 Thread farid59
I use jboss 323 "raffaelecorvino" wrote : @farid59 | What jboss' version are you using? in the previus post, you say jboss 3.2.1 but your configuration file is jboss323.server and not jboss3.2.1. If you are using jboss-3.2.1 the file.server is completly different!!! | you quote this message

[JBoss-user] [Beginners Corner] - Re: Strange problem

2004-03-23 Thread ahardy66
Cosmin, when posting html snippets, check that it shows up properly first! You can use the 'preview' button. Test in your browser whether you can call up your css & js files. As you access log shows, you are calling them. Doing it directly will show you some sort of error in the browser. Or yo

  1   2   >